Quantcast
Channel: Active questions tagged react-native+ios - Stack Overflow
Viewing all articles
Browse latest Browse all 16750

library not found for -lCocoaAsyncSock - React Native

$
0
0

I have created a new react native project (using react native 0.63.2) and when I try to run my new app within an iOS emulator using Xcode I get the following error

error

After researching online I have changed my build settings to Legacy Build Settings but this didn't fix the problem. I have also added $(inherited) to the Library Search Paths and this also didn't fix the problem.

I can't seem to find anything to fix it.

Here is my pod file.

equire_relative '../node_modules/react-native/scripts/react_native_pods'require_relative '../node_modules/@react-native-community/cli-platform-ios/native_modules'platform :ios, '10.0'target 'Example' do  config = use_native_modules!  use_react_native!(:path => config["reactNativePath"])  target 'ExampleTests' do    inherit! :complete    # Pods for testing  end  # Enables Flipper.  #  # Note that if you have use_frameworks! enabled, Flipper will not work and  # you should disable these next few lines.  use_flipper!  post_install do |installer|    flipper_post_install(installer)  endendtarget 'Example-tvOS' do  # Pods for AntrimElimChurch-tvOS  target 'Example-tvOSTests' do    inherit! :search_paths    # Pods for testing  endend

Viewing all articles
Browse latest Browse all 16750

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>