That is most likely a silly query however these errors are actually cryptic to me and I am solely beginning with iOS/Flutter growth.
OK, all was working effective – I used to be in a position to flutter run --release
my app to my developer iPhone however as we speak I received an error from flutter like:
Didn't construct iOS app
Couldn't construct the precompiled software for the machine.
Constructing a deployable iOS app requires a specific Improvement Crew with a
Provisioning Profile. Please be certain that a Improvement Crew is chosen by:
1- Open the Flutter challenge's Xcode goal with
open ios/Runner.xcworkspace
2- Choose the 'Runner' challenge within the navigator then the 'Runner' goal
within the challenge settings
3- Be sure a 'Improvement Crew' is chosen below Signing & Capabilities > Crew.
Chances are you'll have to:
- Log in together with your Apple ID in Xcode first
- Guarantee you have got a legitimate distinctive Bundle ID
- Register your machine together with your Apple Developer Account
- Let Xcode robotically provision a profile on your app
4- Construct or run your challenge once more
For extra info, please go to:
https://flutter.dev/docs/get-started/set up/macos#deploy-to-ios-devices
Or run on an iOS simulator with out code signing
The one factor that modified from yesterday is that I up to date my iPhone’s iOS from 16.2 to 16.6 and now I’m wondering – is that this error attributable to:
- the iOS model change or
- a number of the iPhone settings that would have modified after the iOS replace (for certain it nonetheless has the developer mode enabled – I checked) and now my Xcode/Xcode-project doesn’t work with it with due to some the earlier settings?
So in regards to the variations I’ve:
- iPhone 16.6
- Xcode 14.2
- macOS 16.6.3
Checking with the Xcode compatibility web page:
Xcode 14.2 has:
- SDK for iOS 16.2 and
- has Deployment Targets: iOS 11-16.2
So since my Xcode construct can goal as much as iOS 16.2 this imply that my iPhone 16.6 can’t run it? In that case, then the one strategy to make it work is that I have to improve my macOS to Ventura 13.4 which helps Xcode 15 which targets iOS 12-17?