-
Notifications
You must be signed in to change notification settings - Fork 24.3k
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
react-native link issue after upgrade to react-native-fbsdk 0.6.1 #14594
Comments
This answer worked for me |
Indeed it works fine with version 0.6.0 . The issue I raised comes with version 0.6.1, and btw, none of the proposed solutions in your link work for 0.6.1 |
@koenpunt made a pull request to fix this problem: |
This is not a bug in react-native - it's a really old known issue with CocoaPods and latest react-native-fbsdk commits trigger it by using more modern project.pbxproj format. react-native install react-native-fbsdk would fail. Best clean up / recovery I use is:
|
@paulftw where is that "Use Release for command-line builds" Xcode setting located at? |
@paulftw Thanks! it worked! |
@paulftw hey it worked but after I installed yarn and did what you said I ran npm install to install another package and it removed all my node_modules and the application is not running anymore =// what causes this, do you know it? |
@paulftw it worked for me too. Thanks!!!! |
@paulftw you're awesome! |
@barakoles when npm or yarn rewrite or remove node_modules you have to convert .pbxproj to old format again, as per the steps I've provided above. But overall it's a hack, not a proper permanent fix, so projects will keep breaking again and again until rn-fbsdk get their act together (or cocoapods for that matter) Many people have asked them to do that here: facebookarchive/react-native-fbsdk#349 |
@paulftw that really helped thanks!!! |
paulftw's comment (July 17) solved this for me. It's unbelievable that the Facebook integration for a facebook-originated project (react native) is in this state. One would think facebook's highest priority would be making sure integration of their framework/services was functional. |
I would also like to note that not all mobile developers have mac (with Xcode). For example, in order to develop applications for android enough to have a linux PC. Nevertheless, this error breaks their library linking. |
This issue has been automatically marked as stale because it has not had recent activity. It will be closed if no further activity occurs. Maybe the issue has been fixed in a recent release, or perhaps it is not affecting a lot of people. If you think this issue should definitely remain open, please let us know why. Thank you for your contributions. |
Description
Running react-native link after upgrading to react-native-fbsdk 0.6.1 throws error:
Reproduction Steps
Install react-native-fbsdk 0.6.1, remove node_modules and reinstall packages, then run react-native link
Additional Information
Android Studio 2.3.2 (AI-162.3934792), JRE 1.8.0_112-release-b06 x86_64
The text was updated successfully, but these errors were encountered: