In Xcode, I created a new Staging assembly configuration. I duplicated the Release configuration to do this. Release and Debug configurations are built just fine. When I select the Staging configuration, I get problems with the header. I checked in the build settings so that all three configurations had the same header search paths.
As an important note, problems arise between the two libraries that I have that reference each other.
To be specific, I use the CodePush library, which references the React library as follows:
#if __has_include("RCTEventEmitter.h") #import "RCTEventEmitter.h" #else #import "React/RCTEventEmitter.h" #endif
Which RCTEventEmitter.h file is in the tern states of #import <React/RCTBridge.h> , and it is with the RCTBridge file that the header file was not found.
I am using native 0.40 reaction and reactive-native code-push-1.16.1-beta.
Any thoughts on what might cause the problem. Please let me know if you need more information and I will be happy to provide you with information. I would like to mention that I do not think that this is a problem with libraries, but my setup. I suspect this is only the first library the compiler gets into.
Osman source share