I’m attempting to run a Flutter app on my bodily iPhone from Android Studio/VS Code. The construct fails with:
Couldn’t construct the precompiled software for the machine.
Uncategorized (Xcode): Unable to discover a vacation spot matching the offered vacation spot specifier:
{ id:
Ineligible locations for the “Runner” scheme:
{ platform:iOS, arch:arm64e, id:dvtdevice-DVTiPhonePlaceholder-iphones:placeholder, identify:Any iOS Gadget, error:iOS 18.5 is just not put in. To make use of with Xcode, first obtain and set up the required platform. }
iOS 18.5 is just not put in. To obtain and set up the platform, open
Xcode, choose Xcode > Settings > Parts, and click on the GET button for the required platform.
In Xcode ▸ Settings ▸ Downloads I additionally see a popup the place “iOS 18.6 Simulator (22G86) — Obtain failed.” (and in addition a “Predictive Code Completion Mannequin” obtain that failed).
On the mission web page Signing & Capabilities additionally exhibits “Signing for ‘Runner’ requires a improvement staff” till I decide a staff.
Surroundings
Mac: Apple Silicon (M1), macOS Sequoia 15.5
Gadget: iPhone 12 Professional Max, iOS 18.5
[enter image description here](https://i.sstatic.internet/tr6ANBmy.png)
(Flutter/Xcode variations out there on request)
What I attempted
Opened Xcode not less than as soon as after putting in/updating, and ran:
sudo xcode-select -s /Functions/Xcode.app
xcodebuild -runFirstLaunch
Xcode ▸ Settings ▸ Platforms/Parts: tried to obtain the iOS 18.6 Simulator (22G86) runtime (it repeatedly fails). I don’t see any separate UI to put in machine assist for iOS 18.5.
Plugged within the iPhone, tapped Belief on the machine, and enabled Developer Mode (Settings ▸ Privateness & Safety ▸ Developer Mode).
In Signing & Capabilities:
Chosen my Growth Workforce (automated signing).
Made certain the Bundle Identifier is exclusive.
Undertaking cleanups:
flutter clear
Deleted ios/Pods and ios/Podfile.lock
cd ios && pod repo replace && pod set up
Deleted Xcode DerivedData and restarted Xcode.
Tried launching from Xcode (Runner scheme, goal = my machine) in addition to from Android Studio/VS Code—each hit the identical “vacation spot matching / iOS 18.5 is just not put in” error.
App runs on the simulator; solely the bodily machine fails.
What I anticipated
Xcode/Flutter to put in or use the right machine assist for iOS 18.5 routinely (or after the Platform/Parts obtain), and permit deploying the Flutter app to my iPhone 12 Professional Max (iOS 18.5) with out the “iOS 18.5 is just not put in” / “Unable to discover a vacation spot matching …” error.