【发布时间】:2021-02-17 02:14:23
【问题描述】:
我更新了我 1 年的苹果开发并更新了我的证书
> Xcode 11 supports the new Apple Development and Apple Distribution certificate types. These certificates support building, running, and
> distributing apps on any Apple platform. Preexisting iOS and macOS
> development and distribution certificates continue to work, however,
> new certificates you create in Xcode 11 use the new types. Previous
> versions of Xcode don’t support these certificates. (45527608)
由于 Xcode11 的这个注释,我测试创建一个 Apple 发行版,而不是像以前那样创建 iOS 发行版
所以,我创建了这个并在 Xcode 中选择了良好的配置 profileee。
在这一步,一切都很好。
但现在当我尝试运行应用程序时
我有
No Provisioning Profile was found for your project's Bundle Identifier or your
device. You can create a new Provisioning Profile for your project in Xcode for
your team by:
1- Open the Flutter project's Xcode target with
open ios/Runner.xcworkspace
2- Select the 'Runner' project in the navigator then the 'Runner' target
in the project settings
3- Make sure a 'Development Team' is selected.
- For Xcode 10, look under General > Signing > Team.
- For Xcode 11 and newer, look under Signing & Capabilities > Team.
You may need to:
- Log in with your Apple ID in Xcode first
- Ensure you have a valid unique Bundle ID
- Register your device with your Apple Developer Account
- Let Xcode automatically provision a profile for your app
4- Build or run your project again
It's also possible that a previously installed app with the same Bundle
Identifier was signed with a different certificate.
但我的配置文件在 Xcode 的签名和功能方面得到了很好的接受,团队选择得很好,我的 Apple ID 连接良好
什么时候写:
"It's also possible that a previously installed app with the same Bundle
Identifier was signed with a different certificate."
我认为是这样,因为我更新了我的 1 年帐户,并更新了我的证书。不明白是什么问题
我很好地选择了我的物理设备 我尝试flutter clean,xcode build clean
如果我使用自动管理签名,Xcode 会选择一个 iOS 开发配置文件类型,这样我就可以构建和运行我的应用程序,但如果我手动选择我的 Apple 发行版,它就不起作用
【问题讨论】:
-
您是否尝试过从设备上卸载应用程序并重新构建?也扑
clean -
我将删除此帖子,因为我的解决方案是创建新项目。现在我可以建造了。不明白??????♂️
标签: xcode flutter provisioning-profile