Closed namnguyenvan200501 closed 1 year ago
:warning: | Newer Version of React Native is Available! |
---|---|
:information_source: | You are on a supported minor version, but it looks like there's a newer patch available. Please upgrade to the highest patch for your minor or latest and verify if the issue persists (alternatively, create a new project and repro the issue in it). If it does not repro, please let us know so we can close out this issue. This helps us ensure we are looking at issues that still exist in the most recent releases. |
Did you find a fix for this?
same here on 0.72.5. it works building from xcode on debug mode. but not from VSC
same here on 0.72.5. it works building from xcode on debug mode. but not from VSC
Yup, Xcode build works fine -- CLI is where I run into this problem.
it works not by adding a mandatory simulator, and mode for debugging
react-native run-ios --simulator=\"iPhone 15\" --mode Debug
it works not by adding a mandatory simulator, and mode for debugging
react-native run-ios --simulator=\"iPhone 15\" --mode Debug
This works for me
i got this error after updating xcode and trying to run the project without installing simulators. so after updating xcode you have to open it and install the updated simulators too.
@Adnan-Bacic thanks for the tip. I was getting xcodebuild error 70
but downloading the newest iOS simulator in the xcode settings' platform tab fully resolved my build issues
i got this error after updating xcode and trying to run the project without installing simulators. so after updating xcode you have to open it and install the updated simulators too.
How about us?! who doesn't want to install new simulators and run into the old ones that ran before upgrading xcode?
i got this error after updating xcode and trying to run the project without installing simulators. so after updating xcode you have to open it and install the updated simulators too.
How about us?! who doesn't want to install new simulators and run into the old ones that ran before upgrading xcode?
i dont understand why you wouldt want to install the updated simulators? if you just open xcode it should prompt you automatically to do it. the simulators are a part of xcode so i think it should be normal to install/update them too.
Description
My project not support macOs app but when i run npm build ios, it build on my MacOs. Then it failed: `info Found Xcode workspace "app.xcworkspace" info Found booted MacBook Pro, android info Building (using "xcodebuild -workspace app.xcworkspace -configuration Debug -scheme app -destination id=1054CB39-B940-55B7-8FE0-94C055A44522") error Failed to build iOS project. We ran "xcodebuild" command but it exited with error code 70. To debug build logs further, consider building your app with Xcode.app, by opening app.xcworkspace. Command line invocation: /Applications/Xcode.app/Contents/Developer/usr/bin/xcodebuild -workspace app.xcworkspace -configuration Debug -scheme app -destination id=1054CB39-B940-55B7-8FE0-94C055A44522
User defaults from command line: IDEPackageSupportUseBuiltinSCM = YES
2023-04-10 10:58:30.194 xcodebuild[89841:4961705] Writing error result bundle to /var/folders/j3/7pvdybj52gxfhhtlfndx5v5c0000gn/T/ResultBundle_2023-10-04_10-58-0030.xcresult xcodebuild: error: Unable to find a destination matching the provided destination specifier: { id:1054CB39-B940-55B7-8FE0-94C055A44522 }
When i run it on another Mac, it doesn't happen
React Native Version
0.71.4
Output of
npx react-native info
info Fetching system and libraries information... System: OS: macOS 13.2.1 CPU: (12) x64 Intel(R) Core(TM) i7-9750H CPU @ 2.60GHz Memory: 613.76 MB / 16.00 GB Shell: 5.8.1 - /bin/zsh Binaries: Node: 19.8.1 - /usr/local/bin/node Yarn: 1.22.19 - ~/Desktop/Spa-React/node_modules/.bin/yarn npm: 9.5.1 - /usr/local/bin/npm Watchman: 2023.03.27.00 - /usr/local/bin/watchman Managers: CocoaPods: 1.12.0 - /Users/tcom-mobile/.rvm/gems/ruby-3.0.0/bin/pod SDKs: iOS SDK: Platforms: DriverKit 22.2, iOS 16.2, macOS 13.1, tvOS 16.1, watchOS 9.1 Android SDK: API Levels: 33, 33 Build Tools: 30.0.3, 33.0.0, 33.0.2 System Images: android-31 | Google APIs Intel x86_64 Atom, android-33 | Google TV ARM 64 v8a, android-33 | Google APIs Intel x86_64 Atom, android-33 | Google Play Intel x86_64 Atom Android NDK: Not Found IDEs: Android Studio: 2022.1 AI-221.6008.13.2211.9619390 Xcode: 14.2/14C18 - /usr/bin/xcodebuild Languages: Java: 11.0.18 - /usr/bin/javac npmPackages: @react-native-community/cli: Not Found react: 18.2.0 => 18.2.0 react-native: 0.71.4 => 0.71.4 react-native-macos: Not Found npmGlobalPackages: react-native: Not Found
Steps to reproduce
npm run ios
Snack, code example, screenshot, or link to a repository
error Failed to build iOS project. We ran "xcodebuild" command but it exited with error code 70.