-
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
[Xcode 14] run-ios
fails on fresh new project
#34679
Comments
You could try opening the xcworkspace file with XCode and build / run from there. |
I have this error
Seems to be related to #34601 |
run-ios
fails on fresh new project
@ajouve can you check this comment #34608 (comment) - it seems that for most people this is related to an Ruby version issue. |
Thanks @kelset I updated ruby to Then ran
And it worked |
I don't know why but it worked for me
|
I have this error The following build commands failed: |
hoe to resolved it. |
Same here. Have you fixed it? |
Description
I am running the command
npx react-native init AwesomeProject
everything works great but then when I am trying to run on iOS I have the following issueI
Reset Content And Setting
from the simulator, clean from Xcode menu Product,rm -rf ios/build
, restart computer, try to create w new project, nothing worksFrom time to time I have an other error
Tried on iPhone 13 and iPhone 14 simulator with both iOS 16.0
running
npm run android
I have no issuesVersion
0.70.0
Output of
npx react-native info
System:
OS: macOS 12.6
CPU: (12) x64 Intel(R) Core(TM) i9-8950HK CPU @ 2.90GHz
Memory: 225.53 MB / 32.00 GB
Shell: 5.8.1 - /bin/zsh
Binaries:
Node: 16.14.0 - ~/.nvm/versions/node/v16.14.0/bin/node
Yarn: 1.22.15 - ~/.nvm/versions/node/v16.14.0/bin/yarn
npm: 8.3.1 - ~/.nvm/versions/node/v16.14.0/bin/npm
Watchman: 2022.03.21.00 - /usr/local/bin/watchman
Managers:
CocoaPods: 1.11.3 - /usr/local/bin/pod
SDKs:
iOS SDK:
Platforms: DriverKit 21.4, iOS 16.0, macOS 12.3, tvOS 16.0, watchOS 9.0
Android SDK: Not Found
IDEs:
Android Studio: 2021.2 AI-212.5712.43.2112.8815526
Xcode: 14.0/14A309 - /usr/bin/xcodebuild
Languages:
Java: 14.0.1 - /usr/bin/javac
npmPackages:
@react-native-community/cli: Not Found
react: 18.1.0 => 18.1.0
react-native: 0.70.0 => 0.70.0
react-native-macos: Not Found
npmGlobalPackages:
react-native: Not Found
Steps to reproduce
Same issue with
npx react-native run-ios
Snack, code example, screenshot, or link to a repository
Defaut code
The text was updated successfully, but these errors were encountered: