flutter 开发之 Could not build the precompiled application for the device. Error (Xcode): No profiles f

问题:Could not build the precompiled application for the device.

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

/Users/jhon/Desktop/cat/ios/Runner.xcodeproj

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.

解决方法:

1.用Xcode打开应用

2.找到Signing&Capabilities

在这里插入图片描述

此处需要两个地方需要处理

1.Team 你申请的apple开发者账号这里可以申请注册

2.Bundle Identifier 此处是包名 唯一值

本文来自网络,不代表协通编程立场,如若转载,请注明出处:https://www.net2asp.com/15aa7b8c52.html