-
Notifications
You must be signed in to change notification settings - Fork 419
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Build fails after running "react-native link" #1930
Comments
Why are you running react-native link? I just ran forceios then I opened App/iOS/App.xcworkspace and was able to build without any problems. Are you opening the generated workspace or project? If you don't see the workspace, then the problem might be cocoapod.
Then go to App/iOS and run
|
I am going thru the Dream House React Native tutorial (https://github.com/ForceDotComLabs/dreamhouse-mobile-react) and as part of it, I am trying to install and link the force theme package (as mentioned at https://github.com/ForceDotComLabs/react.force.base.theme). I am using "react-native link" instead of "rnpm link", not sure if this makes any difference. I am opening the workspace. It builds for me immediately after creating the app but fails after running the linking command. I also have external libraries (iOS SDKs) that I am including in the mobile app, so I already have cocoapods installed and seems to be working correctly. When I run "react-native link", two libraries called "libFMDB.a" and "libFMDB-ios.a" are getting added to the frameworks and libraries list, along with the salesforce base theme library, where the error is showing up. I can manually link just the salesforce theme library in my app for now but thought someone might be interested in knowing about the issue and fix it. |
Please open an issue on the dreamhouse-mobile-react repo. |
Please fill out the following details:
CocoaPods: Version 1.2.0
The text was updated successfully, but these errors were encountered: