I am engaged on a ReactNative mission. Just a few months in the past, I used iOS 16 simulator to check it. Labored advantageous. Finally for some causes, I switched to iOS 18 simulator, which additionally labored advantageous.
To save lots of disk house, iOS 18 simulator is eliminated. Then when operating the mission once more:
yarn ios:dev
yarn run v1.22.22
$ react-native run-ios --udid F6BFC767-6B72-4ED2-92DF-C8AB9A3FB0A7
information Discovered Xcode workspace "AWESOMEAPP.xcworkspace"
information Launching iPhone 14 Professional Max (iOS 16.0)
information Constructing (utilizing "xcodebuild -workspace AWESOMEAPP.xcworkspace -configuration Debug -scheme AWESOMEAPP -destination id=F6BFC767-6B72-4ED2-92DF-C8AB9A3FB0A7")
error Didn't construct iOS mission. We ran "xcodebuild" command nevertheless it exited with error code 70. To debug construct logs additional, contemplate constructing your app with Xcode.app, by opening AWESOMEAPP.xcworkspace.
Command line invocation:
/Purposes/Xcode.app/Contents/Developer/usr/bin/xcodebuild -workspace AWESOMEAPP.xcworkspace -configuration Debug -scheme AWESOMEAPP -destination id=F6BFC767-6B72-4ED2-92DF-C8AB9A3FB0A7
Person defaults from command line:
IDEPackageSupportUseBuiltinSCM = YES
2025-08-21 08:29:41.688 xcodebuild[11698:97479] Writing error consequence bundle to /var/folders/42/7rwmfsfs4rl6jv1xl12n88gc0000gp/T/ResultBundle_2025-21-08_08-29-0041.xcresult
xcodebuild: error: Unable to discover a vacation spot matching the supplied vacation spot specifier:
{ id:F6BFC767-6B72-4ED2-92DF-C8AB9A3FB0A7 }
Ineligible locations for the "AWESOMEAPP" scheme:
{ platform:iOS, id:dvtdevice-DVTiPhonePlaceholder-iphoneos:placeholder, identify:Any iOS System, error:iOS 18.2 is just not put in. To make use of with Xcode, first obtain and set up the platform }
information Run CLI with --verbose flag for extra particulars.
error Command failed with exit code 1.
information Go to https://yarnpkg.com/en/docs/cli/run for documentation about this command.
Appears now the XCode workspace is hardwired to make use of iOS 18 (maybe I did some settings tweaking on XCode). Easy methods to make the mission runnable on iOS 16 simulator?
Simply tried to wash the construct folder: Product -> Clear Builder. Noticed this message:
Why? Is having the newest iOS simulator put in is a should?