Closed gavrilikhin-d closed 7 months ago
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
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 forDoubleConversion
from../node_modules/react-native/third-party-podspecs/DoubleConversion.podspec
[Codegen] Found FBReactNativeSpec Fetching podspec forRCT-Folly
from../node_modules/react-native/third-party-podspecs/RCT-Folly.podspec
[Codegen] Found rncore Fetching podspec forboost
from../node_modules/react-native/third-party-podspecs/boost.podspec
Fetching podspec forglog
from../node_modules/react-native/third-party-podspecs/glog.podspec
Fetching podspec forhermes-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 https://github.com/facebook/react-native/issues/42890#issuecomment-1929962826, 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 pod install
without bundle
.
Figured out the issue!
I have opened ReproducerApp.xcodeproj
instead of ReproducerApp.xcworkspace
in xcode
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
Figured out the issue!
I have opened
ReproducerApp.xcodeproj
instead ofReproducerApp.xcworkspace
in xcode
This fixed it for me.
Thanks @gavrilikhin-d
I followed the steps and did the pod install but still my project is failing to load on iOS. I tried running xcodeProj from xcode but I am getting errors in Xcode. Build deployment is at 15.0
yarn ios after pod install
I also have the same issue. Why is it very hard to run react-native? I've already spent two days.
Figured out the issue!
I have opened
ReproducerApp.xcodeproj
instead ofReproducerApp.xcworkspace
in xcode
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. Ex: In my case -> I have a folder "React Projects" renamed to "ReactProjects"
Second: In iOS folder -> Removed Pods and build folder and .xcworkspace. cleared derived data from Xcode (Run .xcworkspace cuz you have used pods) and clean build folder and close the Xcode. Terminal from iOS folder -> pods install
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.
Figured out the issue!
I have opened
ReproducerApp.xcodeproj
instead ofReproducerApp.xcworkspace
in xcode
me too,tks
Figured out the issue!
I have opened
ReproducerApp.xcodeproj
instead ofReproducerApp.xcworkspace
in xcode
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