gpt4 book ai didi

ios - "App.framework does not support provisioning profiles"尝试使用 codemagic 构建我的 flutter 应用程序时

转载 作者:行者123 更新时间:2023-12-04 12:40:42 25 4
gpt4 key购买 nike

我正在尝试使用 codemagic(因为我使用的是 Windows 机器)构建和发布用于开发目的的 flutter 应用程序(使用 testmagic 对其进行测试)。但是每次我构建应用程序时,步骤 build 都会失败并显示以下错误:

Unable to export archive: 2020-01-05 05:46:47.914 xcodebuild[1398:9643] [MT] IDEDistribution: -[IDEDistributionLogging _createLoggingBundleAtPath:]: Created bundle at path '/var/folders/r7/d9twdq011sb8d3q1p8f39cdr0000gn/T/Runner_2020-01-05_05-46-47.912.xcdistributionlogs'. error: exportArchive: App.framework does not support provisioning profiles. Error Domain=IDEProvisioningErrorDomain Code=10 "App.framework does not support provisioning profiles." UserInfo={IDEDistributionIssueSeverity=3, NSLocalizedDescription=App.framework does not support provisioning profiles., NSLocalizedRecoverySuggestion=App.framework does not support provisioning profiles, but provisioning profile {Name of the App + ID} has been manually specified. Remove this item from the "provisioningProfiles" dictionary in your Export Options property list.} ** EXPORT FAILED **

错误消息中有一部分说我应该从 provisioningProfiles 字典中删除和删除项目:

 Remove this item from the "provisioningProfiles" dictionary in your Export Options property list.

我不明白这是什么意思。我尝试从我的苹果开发者帐户中删除自动生成的配置文件,但这不起作用。


build设置:

codemagic build settings

代码签名设置:

codemagic code signing settings

我不知道为什么会这样。我在互联网上发现了一些关于类似问题的 github 问题,但每个问题仍然开放且不活跃,或者对于 xcode 用户而言,我没有使用 xcode。

最佳答案

老问题,但我认为这个解决方案应该适用于再次偶然发现这个问题的人。通常这只会影响那些试图在没有 Mac 的情况下构建的用户,然后他们会编辑他们可以找到的每个“BundleIdentifier”实例。

解决方法是打开您的 AppFrameworksInfo.plist 文件并将 CFBundleIdentifier 更改为 io.flutter.flutter.app 而不是您的包 ID。

<key>CFBundleIdentifier</key>
<string>io.flutter.flutter.app</string>

关于ios - "App.framework does not support provisioning profiles"尝试使用 codemagic 构建我的 flutter 应用程序时,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/59600663/

25 4 0
Copyright 2021 - 2024 cfsdn All Rights Reserved 蜀ICP备2022000587号
广告合作:1813099741@qq.com 6ren.com