Closed wpconsulate closed 6 years ago
Duplicate of https://github.com/urbanairship/react-native-module/issues/109
Take a look at this issue - https://github.com/facebook/react-native/issues/13371. You have to serialize the build order on react projects or react can fail to build.
I followed the same sequence but it didn't worked, So rather than closing the Issue you should help on resolving the issue. or you guys also have sort of targets? I see that thing happens a lot with my telecom operator. Sorry for that but I got that sense, as you can suggest me that so I could have replied that I have already tried that and no luck
What steps have you tried to resolve the issue? When I came across similar issues in our sample, I sometimes had to wipe the derived data and do a clean rebuild. Could you try that? Could you provide a sample project that helps us reproduce your issue? Any chance you could share your project?
InFact I tried doing the same with the following method. Open UARCTModule.xcodeproj from ./node_modules/urbanairship-react-native/ios/ in XCode Go to Project "Build Settings" and add "Header Search Path" for "$(SRCROOT)/../../../ios/Pods/Headers/Public/React" as recursive method and build the project that should solve the Issue.
@wpconsulate tried your solution, and still had build failed on a freshly detached expo kit. Using expo 29.0.0 and added Urban Airship SDK
I detached an Expo project and using expo-kit to develop and I followed the instructions here https://docs.urbanairship.com/platform/react-native/ and installed the SDK. While building I'm getting this error http://prntscr.com/k61d3g. I tested the App working fine just before installing the UrbanAirship SDK, So, something for sure wrong with UrbanAirship SDK.
Preliminary Info
What Urban Airship dependencies are you using?
"urbanairship-react-native": "^1.6.2" I have put in podfile
pod 'UrbanAirship-iOS-SDK', '~>9.0'
and run the "pod install"What are the versions of any relevant development tools you are using?
My Package.json file looks like this
I tried building the react.xcodeproj Project itself and also tried building the Pods.xcodeproj project as well but no help there. Any suggestions would be appriciated.
What unexpected behavior are you seeing?
iOS project build is failing
What is the expected behavior?
iOS project should build as normal
What are the steps to reproduce the unexpected behavior?
create a react native project with above packagaes and try installing the UrbanTitanium it'll break the build
Do you have logging for the issue?
please refer to screenshot: http://prntscr.com/k61jxz