React Native 0.40 #import <React / RCTBundleURLProvider.h> does not find the file for assembly configuration, except Debug

Let's say that I am creating a new Debug Copy configuration configuration, which is actually a copy of the Debug Configuration. If I select the Debug configuration, everything works fine (compile the project), but if I select the Debug project, the project will not compile with an error. The file "React / RCTBundleURLProvider.h" was not found. I need several build configurations, but in version 0.39 everything works fine.

Github Question Link

Error image

+5
source share
1 answer

I had the same problem with the new 0.41 RN project and I uninstalled node_modules and did a new npm installation and it started working again.

+1
source

Source: https://habr.com/ru/post/1263383/


All Articles