Adrian Zghibarta
Adrian Zghibarta

Reputation: 397

React Native 0.40 #import <React/RCTBundleURLProvider.h> doesn't find the file for build configuration other than Debug

Let's say that I create a new Build Configuration "Debug Copy" that is actually a copy from "Debug" configuration. If I select "Debug" configuration all is working fine(project compiles), but if I select "Debug Copy" project doesn't compile with error 'React/RCTBundleURLProvider.h' file not found. I need multiple build configuration and in the version 0.39 all was working fine.

Link to Github Issue

Error Image

Upvotes: 5

Views: 1797

Answers (1)

Nuno MSB
Nuno MSB

Reputation: 93

I had the same problem with a 0.41 RN new project and i deleted node_modules and did a fresh npm install, and it started working again.

Upvotes: 1

Related Questions