ld: library not found for -lDoubleConversion React Native 0.59

前端 未结 4 1472
太阳男子
太阳男子 2021-01-18 16:19

I have this error

❌  ld: library not found for -lDoubleConversion

❌  clang: error: linker command failed with exit code 1 (use -v to see invocation)


erro         


        
4条回答
  •  逝去的感伤
    2021-01-18 16:50

    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.

提交回复
热议问题