Xcode 11苹果发行版已被接受,但无法使用颤振构建

Xcode 11苹果发行版已被接受,但无法使用颤振构建,xcode,flutter,provisioning-profile,Xcode,Flutter,Provisioning Profile,我更新了我的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

我更新了我的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的这个注释,我测试创建一个苹果发行版,而不是像以前那样的iOS发行版

因此,我创建了它,并在Xcode中选择了好的配置概要文件ee

在这一步,一切都很好

但现在当我尝试运行应用程序时

我有

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年的账户,更新了我的证书。我不明白是什么问题

我很好地选择了我的物理设备 我尝试颤振干净,xcode构建干净


如果我使用自动管理签名,Xcode选择一个iOS开发配置文件类型,这样我就可以构建和运行我的应用程序,但是如果我手动选择我的Apple发行版,它就不起作用了

关闭Xcode,然后清除派生数据:

rm -rf ~/Library/Developer/Xcode/DerivedData/*
根据以下内容打开Xcode清理并重建

也有可能是以前安装的应用程序具有相同的捆绑包 标识符已使用其他证书签名

如果它是不同的证书,那么您需要信任物理设备上的新的开发者证书

请参阅以下步骤:

如果要为该证书启用SSL信任,请转到设置>常规>关于>证书信任设置。在“启用根证书的完全信任”下,启用证书的信任


您是否尝试过从设备卸载应用程序并重新生成?另外,flatter
clean
我将删除此帖子,因为我的解决方案是创建新的projet。现在我可以建造了。不明白