ld: library not found for -lDoubleConversion for React Native 0.60.4
See original GitHub issueI continue to get a library not found for -lDoubleConversion.
This is my podfile:
platform :ios, '9.0'
require_relative '../node_modules/@react-native-community/cli-platform-ios/native_modules'
abstract_target 'defaults' do
# Pods for NFIBEngage
pod 'React', :path => '../node_modules/react-native/'
pod 'React-Core', :path => '../node_modules/react-native/React'
pod 'React-DevSupport', :path => '../node_modules/react-native/React'
pod 'React-fishhook', :path => '../node_modules/react-native/Libraries/fishhook'
pod 'React-RCTActionSheet', :path => '../node_modules/react-native/Libraries/ActionSheetIOS'
pod 'React-RCTAnimation', :path => '../node_modules/react-native/Libraries/NativeAnimation'
pod 'React-RCTBlob', :path => '../node_modules/react-native/Libraries/Blob'
pod 'React-RCTImage', :path => '../node_modules/react-native/Libraries/Image'
pod 'React-RCTLinking', :path => '../node_modules/react-native/Libraries/LinkingIOS'
pod 'React-RCTNetwork', :path => '../node_modules/react-native/Libraries/Network'
pod 'React-RCTSettings', :path => '../node_modules/react-native/Libraries/Settings'
pod 'React-RCTText', :path => '../node_modules/react-native/Libraries/Text'
pod 'React-RCTVibration', :path => '../node_modules/react-native/Libraries/Vibration'
pod 'React-RCTWebSocket', :path => '../node_modules/react-native/Libraries/WebSocket'
pod 'React-cxxreact', :path => '../node_modules/react-native/ReactCommon/cxxreact'
pod 'React-jsi', :path => '../node_modules/react-native/ReactCommon/jsi'
pod 'React-jsiexecutor', :path => '../node_modules/react-native/ReactCommon/jsiexecutor'
pod 'React-jsinspector', :path => '../node_modules/react-native/ReactCommon/jsinspector'
pod 'yoga', :path => '../node_modules/react-native/ReactCommon/yoga'
pod 'DoubleConversion', :podspec => '../node_modules/react-native/third-party-podspecs/DoubleConversion.podspec'
pod 'glog', :podspec => '../node_modules/react-native/third-party-podspecs/glog.podspec'
pod 'Folly', :podspec => '../node_modules/react-native/third-party-podspecs/Folly.podspec'
pod 'RNDeviceInfo', :path => '../node_modules/react-native-device-info'
target 'PROD'
target 'DEV'
target 'QA'
target 'UA'
target 'IN'
target 'NFIBEngageTests'
target 'NFIBEngage-tvOS'
target 'NFIBEngage-tvOSTests'
use_native_modules!
end
I have run out of ideas of why Xcode does not see DoubleConversion. It is there. Its in my Linked Frameworks and Libraries in the General tab and its in Link Binary With Libraries inside of Build Phases tab.
I believe the DoubleConversion library is set up correctly in Podfile, but Xcode is looking for DoubleConversion instead of double-conversion.
React Native version:
SDKs:
iOS SDK:
Platforms: iOS 12.1, macOS 10.14, tvOS 12.1, watchOS 5.1
Android SDK:
API Levels: 23, 25, 26, 27, 28
Build Tools: 23.0.1, 26.0.2, 27.0.3, 28.0.3
System Images: android-28 | Google Play Intel x86 Atom
IDEs:
Android Studio: 3.5 AI-191.8026.42.35.5791312
Xcode: 10.1/10B61 - /usr/bin/xcodebuild
npmPackages:
@react-native-community/cli: 2.9.0 => 2.9.0
react: 16.8.6 => 16.8.6
react-native: 0.60.4 => 0.60.4
npmGlobalPackages:
react-native-cli: 2.0.1
react-native-git-upgrade: 0.2.7
Steps To Reproduce
open NFIBEngage.xcodeproj- Run Clean
- Run Build
You can use this repo to reproduce: https://github.com/ldco2016/NFIBEngage
Issue Analytics
- State:
- Created 4 years ago
- Reactions:4
- Comments:12
Top Results From Across the Web
ios - library not found for -lDoubleConversion - Stack Overflow
I tried to build on XCode but ld: library not found for -lDoubleConversion error occurs. I could build react-native run-ios .
Read more >ld: library not found for -lDoubleConversion React Native 0.59
iOS : ld : library not found for -lDoubleConversion React Native 0.59 [ Beautify Your Computer : https://www.hows.tech/p/recommended.html ] ...
Read more >Library not found for -lDoubleConversion : r/reactnative - Reddit
I'm getting the error just by creating a new project with "react-native init" and running the app from Xcode. RN version: 0.60.3 Node: ......
Read more >react native 063 ld: library not found for -lDoubleConversion
Since I updated my project to 0.63 whenever i build for profiling the app errors on ld: library not found for -lDoubleConversion.
Read more >react-native 编译出现ld: library not found for ... - CSDN博客
react -native 编译出现ld: library not found for -lDoubleConversion 错误的解决方案. p15097962069 于 2021-05-10 11:09:51 发布 317 收藏. 文章标签: \N.
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 Free
Top 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

I manage to solve this issue.
Make sure you make the build after opening workspace in XCode.
e.g. open .xcworkspace not the .xcodeproj
If you’re here from google (and a note to myself as I might forget), make sure the IOS version in podsfile AND project AND any test targets that you may have are the same. Otherwise it simply will not complete the release/archive.