-
Notifications
You must be signed in to change notification settings - Fork 24.3k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Library 'CocoaAsyncSocket' not found #42890
Comments
I've tested it locally and cannot reproduce.
It works well on my machine: bundle install && bundle exec pod install
Using rexml 3.2.6
Using CFPropertyList 3.0.6
Using concurrent-ruby 1.2.3
Using i18n 1.14.1
Using minitest 5.22.0
Using tzinfo 2.0.6
Using activesupport 7.0.8
Using public_suffix 4.0.7
Using addressable 2.8.6
Using httpclient 2.8.3
Using json 2.7.1
Using algoliasearch 1.27.5
Using atomos 0.1.3
Using bundler 2.3.7
Using claide 1.1.0
Using fuzzy_match 2.0.4
Using nap 1.1.0
Using netrc 0.11.0
Using ffi 1.16.3
Using ethon 0.16.0
Using typhoeus 1.4.1
Using cocoapods-core 1.14.3
Using cocoapods-deintegrate 1.0.5
Using cocoapods-downloader 2.1
Using cocoapods-plugins 1.0.0
Using cocoapods-search 1.0.1
Using cocoapods-trunk 1.6.0
Using cocoapods-try 1.2.0
Using colored2 3.1.2
Using escape 0.0.4
Using fourflusher 2.3.1
Using gh_inspector 1.1.3
Using molinillo 0.8.0
Using ruby-macho 2.5.1
Using nanaimo 0.3.0
Using xcodeproj 1.24.0
Using cocoapods 1.14.3
Bundle complete! 2 Gemfile dependencies, 37 gems now installed.
Bundled gems are installed into `../vendor/bundle`
Framework build type is static library
[Codegen] Generating ./build/generated/ios/React-Codegen.podspec.json
[Codegen] generating an empty RCTThirdPartyFabricComponentsProvider
Analyzing dependencies
Fetching podspec for `DoubleConversion` from `../node_modules/react-native/third-party-podspecs/DoubleConversion.podspec`
[Codegen] Found FBReactNativeSpec
Fetching podspec for `RCT-Folly` from `../node_modules/react-native/third-party-podspecs/RCT-Folly.podspec`
[Codegen] Found rncore
Fetching podspec for `boost` from `../node_modules/react-native/third-party-podspecs/boost.podspec`
Fetching podspec for `glog` from `../node_modules/react-native/third-party-podspecs/glog.podspec`
Fetching podspec for `hermes-engine` from `../node_modules/react-native/sdks/hermes-engine/hermes-engine.podspec`
[Hermes] Using release tarball from URL: https://repo1.maven.org/maven2/com/facebook/react/react-native-artifacts/0.73.3/react-native-artifacts-0.73.3-hermes-ios-debug.tar.gz
% Total % Received % Xferd Average Speed Time Time Time Current
Dload Upload Total Spent Left Speed
100 16.2M 100 16.2M 0 0 27.6M 0 --:--:-- --:--:-- --:--:-- 27.6M
% Total % Received % Xferd Average Speed Time Time Time Current
Dload Upload Total Spent Left Speed
100 12.3M 100 12.3M 0 0 26.1M 0 --:--:-- --:--:-- --:--:-- 26.1M
Downloading dependencies
Installing CocoaAsyncSocket (7.6.5)
Installing DoubleConversion (1.1.6)
Installing FBLazyVector (0.73.3)
Installing FBReactNativeSpec (0.73.3)
Installing Flipper (0.201.0)
Installing Flipper-Boost-iOSX (1.76.0.1.11)
Installing Flipper-DoubleConversion (3.2.0.1)
Installing Flipper-Fmt (7.1.7)
Installing Flipper-Folly (2.6.10)
Installing Flipper-Glog (0.5.0.5)
Installing Flipper-PeerTalk (0.0.4)
Installing FlipperKit (0.201.0)
Installing OpenSSL-Universal (1.1.1100)
Installing RCT-Folly (2022.05.16.00)
Installing RCTRequired (0.73.3)
Installing RCTTypeSafety (0.73.3)
Installing React (0.73.3)
Installing React-Codegen (0.73.3)
Installing React-Core (0.73.3)
Installing React-CoreModules (0.73.3)
Installing React-Fabric (0.73.3)
Installing React-FabricImage (0.73.3)
Installing React-ImageManager (0.73.3)
Installing React-Mapbuffer (0.73.3)
Installing React-NativeModulesApple (0.73.3)
Installing React-RCTActionSheet (0.73.3)
Installing React-RCTAnimation (0.73.3)
Installing React-RCTAppDelegate (0.73.3)
Installing React-RCTBlob (0.73.3)
Installing React-RCTFabric (0.73.3)
Installing React-RCTImage (0.73.3)
Installing React-RCTLinking (0.73.3)
Installing React-RCTNetwork (0.73.3)
Installing React-RCTSettings (0.73.3)
Installing React-RCTText (0.73.3)
Installing React-RCTVibration (0.73.3)
Installing React-callinvoker (0.73.3)
Installing React-cxxreact (0.73.3)
Installing React-debug (0.73.3)
Installing React-graphics (0.73.3)
Installing React-hermes (0.73.3)
Installing React-jserrorhandler (0.73.3)
Installing React-jsi (0.73.3)
Installing React-jsiexecutor (0.73.3)
Installing React-jsinspector (0.73.3)
Installing React-logger (0.73.3)
Installing React-nativeconfig (0.73.3)
Installing React-perflogger (0.73.3)
Installing React-rendererdebug (0.73.3)
Installing React-rncore (0.73.3)
Installing React-runtimeexecutor (0.73.3)
Installing React-runtimescheduler (0.73.3)
Installing React-utils (0.73.3)
Installing ReactCommon (0.73.3)
Installing SocketRocket (0.6.1)
Installing Yoga (1.14.0)
Installing boost (1.83.0)
Installing fmt (6.2.1)
Installing glog (0.3.5)
Installing hermes-engine (0.73.3)
Installing libevent (2.1.12)
Generating Pods project
Setting USE_HERMES build settings
Setting REACT_NATIVE build settings
Setting CLANG_CXX_LANGUAGE_STANDARD to c++20 on /Users/ncor/pg/rn-reproducer/ReproducerApp/ios/ReproducerApp.xcodeproj
Pod install took 24 [s] to run
Integrating client project
Pod installation complete! There are 73 dependencies from the Podfile and 61 total pods installed.
[!] hermes-engine has added 1 script phase. Please inspect before executing a build. See `https://guides.cocoapods.org/syntax/podspec.html#script_phases` for more information. It's also green on the reproducer CI: |
What is bundle?
I run:
`npm i`
`cd ios`
`pod install`
…On Tue, Feb 6, 2024, 17:58 Nicola Corti ***@***.***> wrote:
I've tested it locally and cannot reproduce.
Make sure you ran:
cd ReproducerApp && yarn && cd ios && bundle install && bundle exec pod install
It works well on my machine:
bundle install && bundle exec pod install
Using rexml 3.2.6
Using CFPropertyList 3.0.6
Using concurrent-ruby 1.2.3
Using i18n 1.14.1
Using minitest 5.22.0
Using tzinfo 2.0.6
Using activesupport 7.0.8
Using public_suffix 4.0.7
Using addressable 2.8.6
Using httpclient 2.8.3
Using json 2.7.1
Using algoliasearch 1.27.5
Using atomos 0.1.3
Using bundler 2.3.7
Using claide 1.1.0
Using fuzzy_match 2.0.4
Using nap 1.1.0
Using netrc 0.11.0
Using ffi 1.16.3
Using ethon 0.16.0
Using typhoeus 1.4.1
Using cocoapods-core 1.14.3
Using cocoapods-deintegrate 1.0.5
Using cocoapods-downloader 2.1
Using cocoapods-plugins 1.0.0
Using cocoapods-search 1.0.1
Using cocoapods-trunk 1.6.0
Using cocoapods-try 1.2.0
Using colored2 3.1.2
Using escape 0.0.4
Using fourflusher 2.3.1
Using gh_inspector 1.1.3
Using molinillo 0.8.0
Using ruby-macho 2.5.1
Using nanaimo 0.3.0
Using xcodeproj 1.24.0
Using cocoapods 1.14.3
Bundle complete! 2 Gemfile dependencies, 37 gems now installed.
Bundled gems are installed into `../vendor/bundle`
Framework build type is static library
[Codegen] Generating ./build/generated/ios/React-Codegen.podspec.json
[Codegen] generating an empty RCTThirdPartyFabricComponentsProvider
Analyzing dependencies
Fetching podspec for `DoubleConversion` from `../node_modules/react-native/third-party-podspecs/DoubleConversion.podspec`
[Codegen] Found FBReactNativeSpec
Fetching podspec for `RCT-Folly` from `../node_modules/react-native/third-party-podspecs/RCT-Folly.podspec`
[Codegen] Found rncore
Fetching podspec for `boost` from `../node_modules/react-native/third-party-podspecs/boost.podspec`
Fetching podspec for `glog` from `../node_modules/react-native/third-party-podspecs/glog.podspec`
Fetching podspec for `hermes-engine` from `../node_modules/react-native/sdks/hermes-engine/hermes-engine.podspec`
[Hermes] Using release tarball from URL: https://repo1.maven.org/maven2/com/facebook/react/react-native-artifacts/0.73.3/react-native-artifacts-0.73.3-hermes-ios-debug.tar.gz
% Total % Received % Xferd Average Speed Time Time Time Current
Dload Upload Total Spent Left Speed
100 16.2M 100 16.2M 0 0 27.6M 0 --:--:-- --:--:-- --:--:-- 27.6M
% Total % Received % Xferd Average Speed Time Time Time Current
Dload Upload Total Spent Left Speed
100 12.3M 100 12.3M 0 0 26.1M 0 --:--:-- --:--:-- --:--:-- 26.1M
Downloading dependencies
Installing CocoaAsyncSocket (7.6.5)
Installing DoubleConversion (1.1.6)
Installing FBLazyVector (0.73.3)
Installing FBReactNativeSpec (0.73.3)
Installing Flipper (0.201.0)
Installing Flipper-Boost-iOSX (1.76.0.1.11)
Installing Flipper-DoubleConversion (3.2.0.1)
Installing Flipper-Fmt (7.1.7)
Installing Flipper-Folly (2.6.10)
Installing Flipper-Glog (0.5.0.5)
Installing Flipper-PeerTalk (0.0.4)
Installing FlipperKit (0.201.0)
Installing OpenSSL-Universal (1.1.1100)
Installing RCT-Folly (2022.05.16.00)
Installing RCTRequired (0.73.3)
Installing RCTTypeSafety (0.73.3)
Installing React (0.73.3)
Installing React-Codegen (0.73.3)
Installing React-Core (0.73.3)
Installing React-CoreModules (0.73.3)
Installing React-Fabric (0.73.3)
Installing React-FabricImage (0.73.3)
Installing React-ImageManager (0.73.3)
Installing React-Mapbuffer (0.73.3)
Installing React-NativeModulesApple (0.73.3)
Installing React-RCTActionSheet (0.73.3)
Installing React-RCTAnimation (0.73.3)
Installing React-RCTAppDelegate (0.73.3)
Installing React-RCTBlob (0.73.3)
Installing React-RCTFabric (0.73.3)
Installing React-RCTImage (0.73.3)
Installing React-RCTLinking (0.73.3)
Installing React-RCTNetwork (0.73.3)
Installing React-RCTSettings (0.73.3)
Installing React-RCTText (0.73.3)
Installing React-RCTVibration (0.73.3)
Installing React-callinvoker (0.73.3)
Installing React-cxxreact (0.73.3)
Installing React-debug (0.73.3)
Installing React-graphics (0.73.3)
Installing React-hermes (0.73.3)
Installing React-jserrorhandler (0.73.3)
Installing React-jsi (0.73.3)
Installing React-jsiexecutor (0.73.3)
Installing React-jsinspector (0.73.3)
Installing React-logger (0.73.3)
Installing React-nativeconfig (0.73.3)
Installing React-perflogger (0.73.3)
Installing React-rendererdebug (0.73.3)
Installing React-rncore (0.73.3)
Installing React-runtimeexecutor (0.73.3)
Installing React-runtimescheduler (0.73.3)
Installing React-utils (0.73.3)
Installing ReactCommon (0.73.3)
Installing SocketRocket (0.6.1)
Installing Yoga (1.14.0)
Installing boost (1.83.0)
Installing fmt (6.2.1)
Installing glog (0.3.5)
Installing hermes-engine (0.73.3)
Installing libevent (2.1.12)
Generating Pods project
Setting USE_HERMES build settings
Setting REACT_NATIVE build settings
Setting CLANG_CXX_LANGUAGE_STANDARD to c++20 on /Users/ncor/pg/rn-reproducer/ReproducerApp/ios/ReproducerApp.xcodeproj
Pod install took 24 [s] to run
Integrating client project
Pod installation complete! There are 73 dependencies from the Podfile and 61 total pods installed.
[!] hermes-engine has added 1 script phase. Please inspect before executing a build. See `https://guides.cocoapods.org/syntax/podspec.html#script_phases` for more information.
It's also green on the reproducer CI:
https://github.com/gavrilikhin-d/rn-reproducer/actions/runs/7798993607/job/21268828510
—
Reply to this email directly, view it on GitHub
<#42890 (comment)>,
or unsubscribe
<https://github.com/notifications/unsubscribe-auth/AR5SO7QYUUUNN6HJYTRLHLLYSJAIBAVCNFSM6AAAAABC32JQVSVHI2DSMVQWIX3LMV43OSLTON2WKQ3PNVWWK3TUHMYTSMRZHE3DEOBSGY>
.
You are receiving this because you authored the thread.Message ID:
***@***.***>
|
Please follow the instructions on this page https://reactnative.dev/docs/environment-setup?platform=ios#creating-a-new-application |
I am also facing the same issue |
By the way, CI itself uses |
Figured out the issue! I have opened |
I have able to fix the issue by overriding the default xcode ruby version which can be done some ruby installer, I can't remember the reference from where I got the fix, but go search for the ios ruby version upgrade |
This fixed it for me. Thanks @gavrilikhin-d |
I also have the same issue. Why is it very hard to run react-native? I've already spent two days. |
doing the exact opposite of this fixed my issue 🥂 |
I did few things to run the project through terminal. First: Check for the any parent folder where my project is located and removed SPACE in between the folder names. Second: In iOS folder -> Removed Pods and build folder and .xcworkspace. Go the project folder in terminal -> npm run ios or if you have installed Yarn -> yarn ios It should fix the issue. Mostly the react library have some issues with finding folder with spaces is what I am thinking. |
me too,tks |
me too, thank for all. 💯 |
Description
Unable to build a reproducer in XCode 15.2 on RN 0.73.3 (default version for repro for now) and on new RN 0.73.4
Steps to reproduce
React Native Version
0.73.4
Affected Platforms
Runtime - iOS, Build - MacOS
Output of
npx react-native info
Stacktrace or Logs
The text was updated successfully, but these errors were encountered: