小工具知识网

当前位置: 首页 > 行业知识 > flutter 开发之 Could not build the precompiled application for the device. Error (Xcode): No profiles f

行业知识

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

2026-11-29 11:00:17 来源:互联网转载

问题: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 此处是包名 唯一值

上一篇:怎么让手机不与服务器断开?

下一篇:电脑键盘熟悉教程