react-native: IOS library not found for -lDoubleConversion
“react”: “16.8.6”, react-native: 0.60.4, “react-native-webview”: “^5.12.1”
Steps To Reproduce
- I have created a new project and it has only one package that is react-native-webview
- When I build in the IOS emulator then I got some with the Xcode.
- I got to link the webview also even it’s not working I have tried many time still got the same issue
About this issue
- Original URL
- State: closed
- Created 5 years ago
- Reactions: 16
- Comments: 62 (2 by maintainers)
the problem was open and build project in wrong place…
=> open ios/{Project}.xcodeproj
instead=> open ios/{Project}.xcworkspace
So i was having this issue too. If you are updating from 0.59 to 0.60, ensure that you have deleted your Pods and reinstalled.
cd ios rm -rf Pods pod install
It works.
Step 1: quit Xcode completely Step 2: open
ios/{Project}.xcworkspace
(PS: notios/{Project}.xcodeproj
)Cheers!
I had the same problem. When I used the
react-native run-ios
command everything worked fine, but if I passed the--configuration Release
I received the same error message. After a few hours I realised that the platform version in the Podfile was 11.0 but in the Xcode Project was 9.0.After I corrected the version mismatch everything work fine.
use this command to open the workspace
cd ios && xed .
This worked for me
Have the same problem, tried https://github.com/facebook/react-native/issues/25820#issuecomment-515742426 but still nothing.
Also working fine with 0.59.
I also encountered this problem.
This is a problem that I have been trying to work out all day too.
My solution was also sync target ios version in Podfile
platform :ios, '11.0'
and in XcodeGeneral > Deployment Info > Target > iOS > 11.0
than close Xcode and run in clicd ios && pod deintegrate && rm Podfile.lock && pod install
I do get this bug of -lDoubleConversion library not found.
react-native-cli: 2.0.1 react-native: 0.60.5
When I do a clean react-native init, then try to build it I do get this error.
I get this bug of -lDoubleConversion library not found. please help! @react-native-bot
I had tried literally everything suggested by the awesome community.
react-native :- 0.62.2 react:- 16.11.0
I spent the last five days stuck on this, trying out everything suggested on the internet. This is what finally worked for me. (Before proceeding, make sure
pod 'DoubleConversion', :podspec => '../node_modules/react-native/third-party-podspecs/DoubleConversion.podspec'
is included in your podfilesRun react-native-run-ios or Build with Xcode by opening the xcworkspace file in your ios directory. Hope this helps someone!
Had this exact error when archiving. Degrading the ios target platform in the Podfile from 11.0 to 9.0 solved it for us. Had raised this previous when including a third-party library which did not support version 9.0. Remember to run ‘pod deintegrate’ and remove Podfile.lock before ‘pod install’ after changing this parameter. Took a long time to figure this out.
@jimhill sounds like you had a good experience migrating everything.
I also can’t make it past this issue, I keep getting Directory not found errors and i’ve tried everything / clearing node_modules + pods and caches + xcode derived data, build folders etc
Have tried everything now including starting multiple fresh apps for different react native versions 0.59, 0.60, 0.61 and cannot build Xcode release/archive
Development debug builds work fine.
I got the same issue.
react-native run-ios
andreact-native run-android
works fine, but got error in Xcode =>library not found for -lDoubleConversion
Any solution here?