Today is my first day of Flutter development and I can’t start real coding because I’m stuck in the setup process. I connected my physical iPhone wirelessly to Xcode and the flutter program runs fine on it. But when I try it with flutter run
it gives the following error:
Automatically signing iOS for device deployment using specified development team in Xcode project: D843842M7Q
Xcode build done. 5.5s
Failed to build iOS app
Could not build the precompiled application for the device.
Error (Xcode): No profiles for 'com.example.boburflutter1' were found: Xcode couldn't find any iOS App Development provisioning profiles matching 'com.example.boburflutter1'. Automatic signing is disabled and unable to generate a profile. To enable automatic signing, pass -allowProvisioningUpdates to xcodebuild.
/Users/bobur/Desktop/flutter/flutter_application/ios/Runner.xcodeproj
2
It appears that there was a problem signing your application prior to installation on the device.
Verify that the Bundle Identifier in your project is your signing id in Xcode
open ios/Runner.xcworkspace
Also try selecting 'Product > Build' to fix the problem.
Error launching application on Bobur’s iPhone.
I have an Apple Developer account but it’s the free version.
I tried adding -allowProvisioningUpdates to the run schema arguments, didn’t help.
BobDaProgrammer is a new contributor to this site. Take care in asking for clarification, commenting, and answering.
Check out our Code of Conduct.