Open daniel-bytes opened 7 years ago
I'm running into the same issue here. Any place where to look for an answer?
@daniel-bytes which version of react native are you running on?
@Eptis : 0.39.2 . I more or less just gave up and started writing Objective-C against the AWS iOS SDK and binding to that directly. Not ideal.
@daniel-bytes I'm on 0.40.0 where they moved the headers into a namespace. I'm currently trying to compile the Core project and added the React project as a dependency:
This does help with finding all the headers, but I now run into a problem with the Core library not compiling properly:
Do you have any suggestions to resolve this?
@Eptis I will try updating soon and see if I can figure it out. As of now I don't really have any recommendations, sorry.
Ok I got it to compile, commented out the "exception" lines which are most likely for an older version of the iOS sdk or something.
When I try to build the Core project in xcode, I am getting the error "'React/RCTBridge.h' file not found". I have tried adjusting the "Header Search Paths" and "User Header Search Paths" to point to various folders inside react-native/React, but nothing seems to work. I suspect the problem may be related to the fact that the react native headers are referenced as system headers ("#import <React/RCTBridge.h>"), but I'm lost as to how I can fix this. Any help or more detailed directions would be appreciated.