question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

[0.59.10 to 0.62.2] Library not found for -lCocoaAsyncSocket

See original GitHub issue

Environment

$ ./node_modules/.bin/react-native info
info Fetching system and libraries information...
System:
    OS: macOS Mojave 10.14.6
    CPU: (8) x64 Intel(R) Core(TM) i7-4770HQ CPU @ 2.20GHz
    Memory: 54.12 MB / 16.00 GB
    Shell: 5.3 - /bin/zsh
  Binaries:
    Node: 12.11.1 - ~/.nvm/versions/node/v12.11.1/bin/node
    Yarn: 1.17.3 - /usr/local/bin/yarn
    npm: 6.11.3 - ~/.nvm/versions/node/v12.11.1/bin/npm
    Watchman: Not Found
  Managers:
    CocoaPods: 1.8.4 - /Users/vincent/.rvm/gems/ruby-2.5.1/bin/pod
  SDKs:
    iOS SDK:
      Platforms: iOS 13.2, DriverKit 19.0, macOS 10.15, tvOS 13.2, watchOS 6.1
    Android SDK:
      API Levels: 23, 24, 26, 27, 28
      Build Tools: 23.0.1, 25.0.2, 26.0.2, 26.0.3, 27.0.0, 27.0.3, 28.0.3
      System Images: android-23 | Intel x86 Atom_64, android-23 | Google APIs Intel x86 Atom_64, android-24 | Google APIs Intel x86 Atom_64, android-24 | Google Play Intel x86 Atom
      Android NDK: Not Found
  IDEs:
    Android Studio: 3.4 AI-183.6156.11.34.5692245
    Xcode: 11.3/11C29 - /usr/bin/xcodebuild
  Languages:
    Java: 1.8.0_60 - /usr/bin/javac
    Python: 2.7.16 - /usr/local/bin/python
  npmPackages:
    @react-native-community/cli: Not Found
    react: 16.11.0 => 16.11.0
    react-native: 0.62.2 => 0.62.2
  npmGlobalPackages:
    *react-native*: Not Found

Upgrading version

0.62.2

Description

I followed all instructions in https://github.com/react-native-community/upgrade-support/issues/14 and https://github.com/react-native-community/upgrade-support/issues/13 (thanks for these guides btw), and I get a build error:

Ld /Users/vincent/Library/Developer/Xcode/DerivedData/myproject-chcyphcsxklmejbgcaennhctwkux/Build/Products/Debug-iphonesimulator/myproject.app/myproject normal x86_64
    cd /Users/vincent/Projets/myproject-mobile/ios
    export PATH="/Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/usr/bin:/Applications/Xcode.app/Contents/Developer/usr/bin:/usr/local/bin:/usr/bin:/bin:/usr/sbin:/sbin"
    /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/clang -target x86_64-apple-ios9.0-simulator -isysroot /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk -L/Users/vincent/Library/Developer/Xcode/DerivedData/myproject-chcyphcsxklmejbgcaennhctwkux/Build/Products/Debug-iphonesimulator -L\"\"\ \"/Users/vincent/Library/Developer/Xcode/DerivedData/myproject-chcyphcsxklmejbgcaennhctwkux/Build/Products/Debug-iphonesimulator/CocoaAsyncSocket\"\ \"/Users/vincent/Library/Developer/Xcode/DerivedData/myproject-chcyphcsxklmejbgcaennhctwkux/Build/Products/Debug-iphonesimulator/DoubleConversion\"\ \"/Users/vincent/Library/Developer/Xcode/DerivedData/myproject-chcyphcsxklmejbgcaennhctwkux/Build/Products/Debug-iphonesimulator/FBReactNativeSpec\"\ \"/Users/vincent/Library/Developer/Xcode/DerivedData/myproject-chcyphcsxklmejbgcaennhctwkux/Build/Products/Debug-iphonesimulator/Flipper\"\ \"/Users/vincent/Library/Developer/Xcode/DerivedData/myproject-chcyphcsxklmejbgcaennhctwkux/Build/Products/Debug-iphonesimulator/Flipper-DoubleConversion\"\ \"/Users/vincent/Library/Developer/Xcode/DerivedData/myproject-chcyphcsxklmejbgcaennhctwkux/Build/Products/Debug-iphonesimulator/Flipper-Folly\"\ \"/Users/vincent/Library/Developer/Xcode/DerivedData/myproject-chcyphcsxklmejbgcaennhctwkux/Build/Products/Debug-iphonesimulator/Flipper-Glog\"\ \"/Users/vincent/Library/Developer/Xcode/DerivedData/myproject-chcyphcsxklmejbgcaennhctwkux/Build/Products/Debug-iphonesimulator/Flipper-PeerTalk\"\ \"/Users/vincent/Library/Developer/Xcode/DerivedData/myproject-chcyphcsxklmejbgcaennhctwkux/Build/Products/Debug-iphonesimulator/Flipper-RSocket\"\ \"/Users/vincent/Library/Developer/Xcode/DerivedData/myproject-chcyphcsxklmejbgcaennhctwkux/Build/Products/Debug-iphonesimulator/FlipperKit\"\ \"/Users/vincent/Library/Developer/Xcode/DerivedData/myproject-chcyphcsxklmejbgcaennhctwkux/Build/Products/Debug-iphonesimulator/Folly\"\ \"/Users/vincent/Library/Developer/Xcode/DerivedData/myproject-chcyphcsxklmejbgcaennhctwkux/Build/Products/Debug-iphonesimulator/RCTTypeSafety\"\ \"/Users/vincent/Library/Developer/Xcode/DerivedData/myproject-chcyphcsxklmejbgcaennhctwkux/Build/Products/Debug-iphonesimulator/RNBackgroundFetch\"\ \"/Users/vincent/Library/Developer/Xcode/DerivedData/myproject-chcyphcsxklmejbgcaennhctwkux/Build/Products/Debug-iphonesimulator/RNDeviceInfo\"\ \"/Users/vincent/Library/Developer/Xcode/DerivedData/myproject-chcyphcsxklmejbgcaennhctwkux/Build/Products/Debug-iphonesimulator/RNFS\"\ \"/Users/vincent/Library/Developer/Xcode/DerivedData/myproject-chcyphcsxklmejbgcaennhctwkux/Build/Products/Debug-iphonesimulator/RNGestureHandler\"\ \"/Users/vincent/Library/Developer/Xcode/DerivedData/myproject-chcyphcsxklmejbgcaennhctwkux/Build/Products/Debug-iphonesimulator/RNI18n\"\ \"/Users/vincent/Library/Developer/Xcode/DerivedData/myproject-chcyphcsxklmejbgcaennhctwkux/Build/Products/Debug-iphonesimulator/RNLocalize\"\ \"/Users/vincent/Library/Developer/Xcode/DerivedData/myproject-chcyphcsxklmejbgcaennhctwkux/Build/Products/Debug-iphonesimulator/RNSentry\"\ \"/Users/vincent/Library/Developer/Xcode/DerivedData/myproject-chcyphcsxklmejbgcaennhctwkux/Build/Products/Debug-iphonesimulator/RNSound\"\ \"/Users/vincent/Library/Developer/Xcode/DerivedData/myproject-chcyphcsxklmejbgcaennhctwkux/Build/Products/Debug-iphonesimulator/React-Core\"\ \"/Users/vincent/Library/Developer/Xcode/DerivedData/myproject-chcyphcsxklmejbgcaennhctwkux/Build/Products/Debug-iphonesimulator/React-CoreModules\"\ \"/Users/vincent/Library/Developer/Xcode/DerivedData/myproject-chcyphcsxklmejbgcaennhctwkux/Build/Products/Debug-iphonesimulator/React-RCTAnimation\"\ \"/Users/vincent/Library/Developer/Xcode/DerivedData/myproject-chcyphcsxklmejbgcaennhctwkux/Build/Products/Debug-iphonesimulator/React-RCTBlob\"\ \"/Users/vincent/Library/Developer/Xcode/DerivedData/myproject-chcyphcsxklmejbgcaennhctwkux/Build/Products/Debug-iphonesimulator/React-RCTImage\"\ \"/Users/vincent/Library/Developer/Xcode/DerivedData/myproject-chcyphcsxklmejbgcaennhctwkux/Build/Products/Debug-iphonesimulator/React-RCTLinking\"\ \"/Users/vincent/Library/Developer/Xcode/DerivedData/myproject-chcyphcsxklmejbgcaennhctwkux/Build/Products/Debug-iphonesimulator/React-RCTNetwork\"\ \"/Users/vincent/Library/Developer/Xcode/DerivedData/myproject-chcyphcsxklmejbgcaennhctwkux/Build/Products/Debug-iphonesimulator/React-RCTSettings\"\ \"/Users/vincent/Library/Developer/Xcode/DerivedData/myproject-chcyphcsxklmejbgcaennhctwkux/Build/Products/Debug-iphonesimulator/React-RCTText\"\ \"/Users/vincent/Library/Developer/Xcode/DerivedData/myproject-chcyphcsxklmejbgcaennhctwkux/Build/Products/Debug-iphonesimulator/React-RCTVibration\"\ \"/Users/vincent/Library/Developer/Xcode/DerivedData/myproject-chcyphcsxklmejbgcaennhctwkux/Build/Products/Debug-iphonesimulator/React-cxxreact\"\ \"/Users/vincent/Library/Developer/Xcode/DerivedData/myproject-chcyphcsxklmejbgcaennhctwkux/Build/Products/Debug-iphonesimulator/React-jsi\"\ \"/Users/vincent/Library/Developer/Xcode/DerivedData/myproject-chcyphcsxklmejbgcaennhctwkux/Build/Products/Debug-iphonesimulator/React-jsiexecutor\"\ \"/Users/vincent/Library/Developer/Xcode/DerivedData/myproject-chcyphcsxklmejbgcaennhctwkux/Build/Products/Debug-iphonesimulator/React-jsinspector\"\ \"/Users/vincent/Library/Developer/Xcode/DerivedData/myproject-chcyphcsxklmejbgcaennhctwkux/Build/Products/Debug-iphonesimulator/ReactCommon\"\ \"/Users/vincent/Library/Developer/Xcode/DerivedData/myproject-chcyphcsxklmejbgcaennhctwkux/Build/Products/Debug-iphonesimulator/Sentry\"\ \"/Users/vincent/Library/Developer/Xcode/DerivedData/myproject-chcyphcsxklmejbgcaennhctwkux/Build/Products/Debug-iphonesimulator/Yoga\"\ \"/Users/vincent/Library/Developer/Xcode/DerivedData/myproject-chcyphcsxklmejbgcaennhctwkux/Build/Products/Debug-iphonesimulator/YogaKit\"\ \"/Users/vincent/Library/Developer/Xcode/DerivedData/myproject-chcyphcsxklmejbgcaennhctwkux/Build/Products/Debug-iphonesimulator/glog\"\ \"/Users/vincent/Library/Developer/Xcode/DerivedData/myproject-chcyphcsxklmejbgcaennhctwkux/Build/Products/Debug-iphonesimulator/react-native-cameraroll\"\ \"/Users/vincent/Library/Developer/Xcode/DerivedData/myproject-chcyphcsxklmejbgcaennhctwkux/Build/Products/Debug-iphonesimulator/react-native-netinfo\"\ \"/Users/vincent/Library/Developer/Xcode/DerivedData/myproject-chcyphcsxklmejbgcaennhctwkux/Build/Products/Debug-iphonesimulator/react-native-slider\"\ \"/Users/vincent/Library/Developer/Xcode/DerivedData/myproject-chcyphcsxklmejbgcaennhctwkux/Build/Products/Debug-iphonesimulator/react-native-sqlite-storage\"\ \"/Users/vincent/Library/Developer/Xcode/DerivedData/myproject-chcyphcsxklmejbgcaennhctwkux/Build/Products/Debug-iphonesimulator/react-native-static-server\"\ \"/Users/vincent/Library/Developer/Xcode/DerivedData/myproject-chcyphcsxklmejbgcaennhctwkux/Build/Products/Debug-iphonesimulator/react-native-webview\"\ \"/Users/vincent/Projets/myproject-mobile/ios/Pods/CocoaLibEvent/lib\"\ \"/Users/vincent/Projets/myproject-mobile/ios/Pods/OpenSSL-Universal/ios/lib\" -L/Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/swift-5.0/iphonesimulator -L/Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/swift/iphonesimulator -F/Users/vincent/Library/Developer/Xcode/DerivedData/myproject-chcyphcsxklmejbgcaennhctwkux/Build/Products/Debug-iphonesimulator -F../node_modules/react-native-background-fetch/ios -F../node_modules/react-native-background-fetch/ios/RNBackgroundFetch -filelist /Users/vincent/Library/Developer/Xcode/DerivedData/myproject-chcyphcsxklmejbgcaennhctwkux/Build/Intermediates.noindex/myproject.build/Debug-iphonesimulator/myproject.build/Objects-normal/x86_64/myproject.LinkFileList -Xlinker -rpath -Xlinker @executable_path/Frameworks -Xlinker -object_path_lto -Xlinker /Users/vincent/Library/Developer/Xcode/DerivedData/myproject-chcyphcsxklmejbgcaennhctwkux/Build/Intermediates.noindex/myproject.build/Debug-iphonesimulator/myproject.build/Objects-normal/x86_64/myproject_lto.o -Xlinker -export_dynamic -Xlinker -no_deduplicate -Xlinker -objc_abi_version -Xlinker 2 -fobjc-arc -fobjc-link-runtime -ObjC -lCocoaAsyncSocket -lDoubleConversion -lFBReactNativeSpec -lFlipper -lFlipper-DoubleConversion -lFlipper-Folly -lFlipper-Glog -lFlipper-PeerTalk -lFlipper-RSocket -lFlipperKit -lFolly -lRCTTypeSafety -lRNBackgroundFetch -lRNDeviceInfo -lRNFS -lRNGestureHandler -lRNI18n -lRNLocalize -lRNSentry -lRNSound -lReact-Core -lReact-CoreModules -lReact-RCTAnimation -lReact-RCTBlob -lReact-RCTImage -lReact-RCTLinking -lReact-RCTNetwork -lReact-RCTSettings -lReact-RCTText -lReact-RCTVibration -lReact-cxxreact -lReact-jsi -lReact-jsiexecutor -lReact-jsinspector -lReactCommon -lSentry -lYoga -lYogaKit -lc++ -lcrypto -levent -levent_core -levent_extra -levent_pthreads -lglog -lreact-native-cameraroll -lreact-native-netinfo -lreact-native-slider -lreact-native-sqlite-storage -lreact-native-static-server -lreact-native-webview -lsqlite3 -lssl -lstdc++ -lz -framework AudioToolbox -framework CFNetwork -framework Foundation -framework JavaScriptCore -framework MobileCoreServices -framework Security -framework TSBackgroundFetch -framework UIKit -ObjC -lc++ -Xlinker -sectcreate -Xlinker __TEXT -Xlinker __entitlements -Xlinker /Users/vincent/Library/Developer/Xcode/DerivedData/myproject-chcyphcsxklmejbgcaennhctwkux/Build/Intermediates.noindex/myproject.build/Debug-iphonesimulator/myproject.build/myproject.app-Simulated.xcent -framework JavaScriptCore -lRCTPushNotification -lRNDeviceInfo -lRNI18n -framework TSBackgroundFetch -lPods-myproject -lz -Xlinker -dependency_info -Xlinker /Users/vincent/Library/Developer/Xcode/DerivedData/myproject-chcyphcsxklmejbgcaennhctwkux/Build/Intermediates.noindex/myproject.build/Debug-iphonesimulator/myproject.build/Objects-normal/x86_64/myproject_dependency_info.dat -o /Users/vincent/Library/Developer/Xcode/DerivedData/myproject-chcyphcsxklmejbgcaennhctwkux/Build/Products/Debug-iphonesimulator/myproject.app/myproject

ld: warning: directory not found for option '-L"" "/Users/vincent/Library/Developer/Xcode/DerivedData/myproject-chcyphcsxklmejbgcaennhctwkux/Build/Products/Debug-iphonesimulator/CocoaAsyncSocket" "/Users/vincent/Library/Developer/Xcode/DerivedData/myproject-chcyphcsxklmejbgcaennhctwkux/Build/Products/Debug-iphonesimulator/DoubleConversion" "/Users/vincent/Library/Developer/Xcode/DerivedData/myproject-chcyphcsxklmejbgcaennhctwkux/Build/Products/Debug-iphonesimulator/FBReactNativeSpec" "/Users/vincent/Library/Developer/Xcode/DerivedData/myproject-chcyphcsxklmejbgcaennhctwkux/Build/Products/Debug-iphonesimulator/Flipper" "/Users/vincent/Library/Developer/Xcode/DerivedData/myproject-chcyphcsxklmejbgcaennhctwkux/Build/Products/Debug-iphonesimulator/Flipper-DoubleConversion" "/Users/vincent/Library/Developer/Xcode/DerivedData/myproject-chcyphcsxklmejbgcaennhctwkux/Build/Products/Debug-iphonesimulator/Flipper-Folly" "/Users/vincent/Library/Developer/Xcode/DerivedData/myproject-chcyphcsxklmejbgcaennhctwkux/Build/Products/Debug-iphonesimulator/Flipper-Glog" "/Users/vincent/Library/Developer/Xcode/DerivedData/myproject-chcyphcsxklmejbgcaennhctwkux/Build/Products/Debug-iphonesimulator/Flipper-PeerTalk" "/Users/vincent/Library/Developer/Xcode/DerivedData/myproject-chcyphcsxklmejbgcaennhctwkux/Build/Products/Debug-iphonesimulator/Flipper-RSocket" "/Users/vincent/Library/Developer/Xcode/DerivedData/myproject-chcyphcsxklmejbgcaennhctwkux/Build/Products/Debug-iphonesimulator/FlipperKit" "/Users/vincent/Library/Developer/Xcode/DerivedData/myproject-chcyphcsxklmejbgcaennhctwkux/Build/Products/Debug-iphonesimulator/Folly" "/Users/vincent/Library/Developer/Xcode/DerivedData/myproject-chcyphcsxklmejbgcaennhctwkux/Build/Products/Debug-iphonesimulator/RCTTypeSafety" "/Users/vincent/Library/Developer/Xcode/DerivedData/myproject-chcyphcsxklmejbgcaennhctwkux/Build/Products/Debug-iphonesimulator/RNBackgroundFetch" "/Users/vincent/Library/Developer/Xcode/DerivedData/myproject-chcyphcsxklmejbgcaennhctwkux/Build/Products/Debug-iphonesimulator/RNDeviceInfo" "/Users/vincent/Library/Developer/Xcode/DerivedData/myproject-chcyphcsxklmejbgcaennhctwkux/Build/Products/Debug-iphonesimulator/RNFS" "/Users/vincent/Library/Developer/Xcode/DerivedData/myproject-chcyphcsxklmejbgcaennhctwkux/Build/Products/Debug-iphonesimulator/RNGestureHandler" "/Users/vincent/Library/Developer/Xcode/DerivedData/myproject-chcyphcsxklmejbgcaennhctwkux/Build/Products/Debug-iphonesimulator/RNI18n" "/Users/vincent/Library/Developer/Xcode/DerivedData/myproject-chcyphcsxklmejbgcaennhctwkux/Build/Products/Debug-iphonesimulator/RNLocalize" "/Users/vincent/Library/Developer/Xcode/DerivedData/myproject-chcyphcsxklmejbgcaennhctwkux/Build/Products/Debug-iphonesimulator/RNSentry" "/Users/vincent/Library/Developer/Xcode/DerivedData/myproject-chcyphcsxklmejbgcaennhctwkux/Build/Products/Debug-iphonesimulator/RNSound" "/Users/vincent/Library/Developer/Xcode/DerivedData/myproject-chcyphcsxklmejbgcaennhctwkux/Build/Products/Debug-iphonesimulator/React-Core" "/Users/vincent/Library/Developer/Xcode/DerivedData/myproject-chcyphcsxklmejbgcaennhctwkux/Build/Products/Debug-iphonesimulator/React-CoreModules" "/Users/vincent/Library/Developer/Xcode/DerivedData/myproject-chcyphcsxklmejbgcaennhctwkux/Build/Products/Debug-iphonesimulator/React-RCTAnimation" "/Users/vincent/Library/Developer/Xcode/DerivedData/myproject-chcyphcsxklmejbgcaennhctwkux/Build/Products/Debug-iphonesimulator/React-RCTBlob" "/Users/vincent/Library/Developer/Xcode/DerivedData/myproject-chcyphcsxklmejbgcaennhctwkux/Build/Products/Debug-iphonesimulator/React-RCTImage" "/Users/vincent/Library/Developer/Xcode/DerivedData/myproject-chcyphcsxklmejbgcaennhctwkux/Build/Products/Debug-iphonesimulator/React-RCTLinking" "/Users/vincent/Library/Developer/Xcode/DerivedData/myproject-chcyphcsxklmejbgcaennhctwkux/Build/Products/Debug-iphonesimulator/React-RCTNetwork" "/Users/vincent/Library/Developer/Xcode/DerivedData/myproject-chcyphcsxklmejbgcaennhctwkux/Build/Products/Debug-iphonesimulator/React-RCTSettings" "/Users/vincent/Library/Developer/Xcode/DerivedData/myproject-chcyphcsxklmejbgcaennhctwkux/Build/Products/Debug-iphonesimulator/React-RCTText" "/Users/vincent/Library/Developer/Xcode/DerivedData/myproject-chcyphcsxklmejbgcaennhctwkux/Build/Products/Debug-iphonesimulator/React-RCTVibration" "/Users/vincent/Library/Developer/Xcode/DerivedData/myproject-chcyphcsxklmejbgcaennhctwkux/Build/Products/Debug-iphonesimulator/React-cxxreact" "/Users/vincent/Library/Developer/Xcode/DerivedData/myproject-chcyphcsxklmejbgcaennhctwkux/Build/Products/Debug-iphonesimulator/React-jsi" "/Users/vincent/Library/Developer/Xcode/DerivedData/myproject-chcyphcsxklmejbgcaennhctwkux/Build/Products/Debug-iphonesimulator/React-jsiexecutor" "/Users/vincent/Library/Developer/Xcode/DerivedData/myproject-chcyphcsxklmejbgcaennhctwkux/Build/Products/Debug-iphonesimulator/React-jsinspector" "/Users/vincent/Library/Developer/Xcode/DerivedData/myproject-chcyphcsxklmejbgcaennhctwkux/Build/Products/Debug-iphonesimulator/ReactCommon" "/Users/vincent/Library/Developer/Xcode/DerivedData/myproject-chcyphcsxklmejbgcaennhctwkux/Build/Products/Debug-iphonesimulator/Sentry" "/Users/vincent/Library/Developer/Xcode/DerivedData/myproject-chcyphcsxklmejbgcaennhctwkux/Build/Products/Debug-iphonesimulator/Yoga" "/Users/vincent/Library/Developer/Xcode/DerivedData/myproject-chcyphcsxklmejbgcaennhctwkux/Build/Products/Debug-iphonesimulator/YogaKit" "/Users/vincent/Library/Developer/Xcode/DerivedData/myproject-chcyphcsxklmejbgcaennhctwkux/Build/Products/Debug-iphonesimulator/glog" "/Users/vincent/Library/Developer/Xcode/DerivedData/myproject-chcyphcsxklmejbgcaennhctwkux/Build/Products/Debug-iphonesimulator/react-native-cameraroll" "/Users/vincent/Library/Developer/Xcode/DerivedData/myproject-chcyphcsxklmejbgcaennhctwkux/Build/Products/Debug-iphonesimulator/react-native-netinfo" "/Users/vincent/Library/Developer/Xcode/DerivedData/myproject-chcyphcsxklmejbgcaennhctwkux/Build/Products/Debug-iphonesimulator/react-native-slider" "/Users/vincent/Library/Developer/Xcode/DerivedData/myproject-chcyphcsxklmejbgcaennhctwkux/Build/Products/Debug-iphonesimulator/react-native-sqlite-storage" "/Users/vincent/Library/Developer/Xcode/DerivedData/myproject-chcyphcsxklmejbgcaennhctwkux/Build/Products/Debug-iphonesimulator/react-native-static-server" "/Users/vincent/Library/Developer/Xcode/DerivedData/myproject-chcyphcsxklmejbgcaennhctwkux/Build/Products/Debug-iphonesimulator/react-native-webview" "/Users/vincent/Projets/myproject-mobile/ios/Pods/CocoaLibEvent/lib" "/Users/vincent/Projets/myproject-mobile/ios/Pods/OpenSSL-Universal/ios/lib"'
ld: library not found for -lCocoaAsyncSocket
clang: error: linker command failed with exit code 1 (use -v to see invocation)

Issue Analytics

  • State:open
  • Created 3 years ago
  • Reactions:3
  • Comments:16

github_iconTop GitHub Comments

5reactions
lumbermancommented, May 19, 2020

Screen Shot on 2020-05-19 at 00:34:17

Found solution by setting a Search Path for TARGETS as well not only for PROJECT. Also removed double quotes from paths like "$(TOOLCHAIN_DIR)/usr/lib/swift/$(PLATFORM_NAME)"

1reaction
xbaoscommented, Sep 28, 2020

Screen Shot on 2020-05-19 at 00:34:17

Found solution by setting a Search Path for TARGETS as well not only for PROJECT. Also removed double quotes from paths like "$(TOOLCHAIN_DIR)/usr/lib/swift/$(PLATFORM_NAME)" thank you, it help me

Read more comments on GitHub >

github_iconTop Results From Across the Web

ld: library not found for -lCocoaAsyncSocket - Stack Overflow
Found a solution. I ended up using the New Build System instead of the Legacy Build system. I initially had that option toggled...
Read more >
REACT NATIVE (VERSION-0.62) IOS build error( library not ...
REACT NATIVE (VERSION-0.62) IOS build error( library not found for -lCocoaAsyncSocket and linker command failed ). Hello guys here is the solution for...
Read more >
React Native Upgrade Helper
0.62.2. Show me how to upgrade! ... Not all packages are supported out-of-the-box. ... 59, since Flipper library is not available in release...
Read more >
Upgrading to new versions - React Native
I want to upgrade with React Native CLI but I don't use Git​. While your project does not have to be handled by...
Read more >
找不到-lcocoaasyncsocket 的库”, Ld library not found for clang ...
确实开发环境很好ld: library not found for -lCocoaAsyncSocket clang: error: linker command failed ... [0.59.10 到0.62.2] 找不到-lCocoaAsyncSocket #66 的库。
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found