23 C
Canberra
Wednesday, October 22, 2025

react native – Methods to run ReactNative iOS undertaking on older simulator?


I am engaged on a ReactNative undertaking. A number of months in the past, I used iOS 16 simulator to check it. Labored nice. Finally for some causes, I switched to iOS 18 simulator, which additionally labored nice.

To save lots of disk area, iOS 18 simulator is eliminated. Then when working the undertaking 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 undertaking. We ran "xcodebuild" command but it surely exited with error code 70. To debug construct logs additional, take into account constructing your app with Xcode.app, by opening AWESOMEAPP.xcworkspace.
Command line invocation:
    /Functions/Xcode.app/Contents/Developer/usr/bin/xcodebuild -workspace AWESOMEAPP.xcworkspace -configuration Debug -scheme AWESOMEAPP -destination id=F6BFC767-6B72-4ED2-92DF-C8AB9A3FB0A7

Consumer defaults from command line:
    IDEPackageSupportUseBuiltinSCM = YES


2025-08-21 08:29:41.688 xcodebuild[11698:97479] Writing error end result 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 Machine, error:iOS 18.2 shouldn't be 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). Methods to make the undertaking runnable on iOS 16 simulator?

Related Articles

LEAVE A REPLY

Please enter your comment!
Please enter your name here

[td_block_social_counter facebook="tagdiv" twitter="tagdivofficial" youtube="tagdiv" style="style8 td-social-boxed td-social-font-icons" tdc_css="eyJhbGwiOnsibWFyZ2luLWJvdHRvbSI6IjM4IiwiZGlzcGxheSI6IiJ9LCJwb3J0cmFpdCI6eyJtYXJnaW4tYm90dG9tIjoiMzAiLCJkaXNwbGF5IjoiIn0sInBvcnRyYWl0X21heF93aWR0aCI6MTAxOCwicG9ydHJhaXRfbWluX3dpZHRoIjo3Njh9" custom_title="Stay Connected" block_template_id="td_block_template_8" f_header_font_family="712" f_header_font_transform="uppercase" f_header_font_weight="500" f_header_font_size="17" border_color="#dd3333"]
- Advertisement -spot_img

Latest Articles