Fresh application react-native@0.61.2 error build in Xcode 11.0
See original GitHub issueImpossible to assemble a build in latest Xcode 11.0 with fresh application, react-native@0.61.2. Xcode always shows “Failed Build error”:
ld: library not found for -lDoubleConversion
clang: error: linker command failed with exit code 1 (use -v to see invocation)
With Xcode 10.2.1 everything worked fine.
React Native version:
System:
OS: macOS 10.14.6
CPU: (4) x64 Intel(R) Core(TM) i5-6360U CPU @ 2.00GHz
Memory: 105.80 MB / 8.00 GB
Shell: 3.2.57 - /bin/bash
Binaries:
Node: 12.4.0 - ~/.nvm/versions/node/v12.4.0/bin/node
Yarn: 1.19.0 - /usr/local/bin/yarn
npm: 6.9.0 - ~/.nvm/versions/node/v12.4.0/bin/npm
Watchman: 4.9.0 - /usr/local/bin/watchman
SDKs:
iOS SDK:
Platforms: iOS 13.0, DriverKit 19.0, macOS 10.15, tvOS 13.0, watchOS 6.0
Android SDK:
API Levels: 23, 24, 25, 26, 27, 28
Build Tools: 23.0.1, 25.0.1, 26.0.1, 26.0.2, 26.0.3, 27.0.3, 28.0.0, 28.0.3
System Images: android-23 | Intel x86 Atom_64, android-23 | Google APIs Intel x86 Atom, android-23 | Google APIs Intel x86 Atom_64, android-25 | Google APIs Intel x86 Atom, android-27 | Google Play Intel x86 Atom, android-28 | Google APIs Intel x86 Atom
IDEs:
Android Studio: 3.5 AI-191.8026.42.35.5791312
Xcode: 11.0/11A420a - /usr/bin/xcodebuild
npmPackages:
@react-native-community/cli: 2.9.0 => 2.9.0
react: 16.9.0 => 16.9.0
react-native: 0.61.2 => 0.61.2
npmGlobalPackages:
react-native-cli: 2.0.1
Steps To Reproduce
- Generate fresh application with
react-native init TestApp
- Open this project in Xcode 11.0
- Press build application
- Always throws an error
Expected result: Build assembled correctly.
Issue Analytics
- State:
- Created 4 years ago
- Comments:14
Top Results From Across the Web
Problems building a new react-native project in Xcode
I have just upgraded from Xcode 11 to Xcode 12 (on MacOS Catalina). ... Now the build fails with the error ld: framework...
Read more >Unable to build react native project after updating to xcode 11.0
I am getting the following error: CoreData: annotation: Failed to load optimized model at path '/Applications/Xcode.app/Contents/Applications/ ...
Read more >Build failing on Xcode 13.2 : r/reactnative - Reddit
Very recently I switched from windows to Mac to work on an existing project and I have been facing multiple issues. Most errors...
Read more >Setting up the development environment - React Native
This page will help you install and build your first React Native app. If you are new to mobile development, the easiest way...
Read more >Error in building ReactNative videoSDK sample code (IOS ...
app, by opening ZoomVideoSdkExample.xcworkspace. Command line invocation: /Applications/Xcode.app/Contents/Developer/usr/bin/xcodebuild - ...
Read more >Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start FreeTop Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
Top GitHub Comments
Hey guys, quick update: it’s now working for me. If you are still interested in the topic, please check my comments out on this issue: https://github.com/facebook/react-native/issues/25546#issuecomment-545177371
Should you have any questions, feel free to ask me 😉
Thanks @pabloluz I will close this issue as we have newest same issue with more comments.