Quantcast
Channel: Active questions tagged cocoapods - Stack Overflow
Viewing all articles
Browse latest Browse all 1021

Mac OS Sonoma 14.3.1 with Xcode 15.2 build throws ld: library 'CocoaAsyncSocket' not found

$
0
0

I've Mac M2 chip. After my last weekend update of my Mac OS from Monterey to Sonoma (14.3) and upgrading the Xcode from 14.2 to Xcode 15.2, my react-native project code (0.72.4) build is failed, but after clearing node_modules, pods and reinstalling it worked.

Now i want create a new project for react native. I went to test by creating a new react native project using "npx react-native init ProjectName" with 0.73.5, my project is failed to build for ios. It throws

"❌ ld: library 'CocoaAsyncSocket' not found"

I tried doing all the below, but no use

  • Remove derive data

  • Delete build folder from ios

  • pod deintegrate && pod install

  • yarn cache clean

  • close the metro bundler and restart

  • Tried to build via command line and via Xcode, its all the same

  • I tried to link the CocoaAsyncSocket in Xcode.

Can anyone give me some clue about what's going on. How to fix it?


Viewing all articles
Browse latest Browse all 1021

Latest Images

Trending Articles



Latest Images

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