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

  1. I have created a new project and it has only one package that is react-native-webview
  2. When I build in the IOS emulator then I got some with the Xcode.
  3. I got to link the webview also even it’s not working I have tried many time still got the same issue
Screenshot 2019-07-24 at 3 31 53 PM

About this issue

  • Original URL
  • State: closed
  • Created 5 years ago
  • Reactions: 16
  • Comments: 62 (2 by maintainers)

Most upvoted comments

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

the problem was open and build project in wrong place…

=> open ios/{Project}.xcodeproj instead => open ios/{Project}.xcworkspace

It works.

Step 1: quit Xcode completely Step 2: open ios/{Project}.xcworkspace (PS: not ios/{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.

the problem was open and build project in wrong place…

=> open ios/{Project}.xcodeproj instead => open ios/{Project}.xcworkspace

use this command to open the workspace cd ios && xed .

This worked for me

cd ios
pod deintegrate
pod install
pod update
cd ..
rm -rf node_modules
npm install

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 Xcode General > Deployment Info > Target > iOS > 11.0 than close Xcode and run in cli cd 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

Screenshot 2020-07-27 at 11 37 39 PM

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 podfiles

1. Delete Podfile.lock
2. cd ios
3. pod deintegrate
4. pod install
5. cd ..
6. rm -rf node_modules && yarn
7. Add use_frameworks! to your Podfile

Run 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.

Users/ivancaceres/Library/Developer/Xcode/DerivedData/{project name}/Build/Products/Release-iphonesimulator/DoubleConversion'

I got the same issue.

react-native run-ios and react-native run-android works fine, but got error in Xcode => library not found for -lDoubleConversion

Any solution here?