How can I Solve this error when iOS build in Flutter

0
260


How can I solve this error?

Error (Xcode): No profiles for ‘com.school.wcc2’ were found: Xcode couldn’t find any iOS App Development provisioning profiles matching ‘com.school.wcc2’. Automatic signing is disabled and unable to generate a profile. To enable automatic signing, pass -allowProvisioningUpdates to xcodebuild.

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:
Encountered error while building for device.