Joh*_*ohn 55 xcode ios flutter
我已经向 TestFlight 提交了许多应用程序版本,即使是昨天,但今天当我尝试通过 XCODE 将我的应用程序提交给 TestFlight 时,我收到以下错误:
ERROR ITMS-90164: "Invalid Code Signing Entitlements. The entitlements in your app bundle signature do not match the ones that are contained in the provisioning profile. According to the provisioning profile, the bundle contains a key value that is not allowed: '[ ]' for the key 'com.apple.developer.healthkit.access' in 'Payload/Runner.app/Runner'."
我正在通过 XCODE 构建一个颤振项目。我尝试了以下方法:
但我仍然收到此错误。我的启用与上次上传我的应用程序相比没有改变。请帮忙,谢谢。
更新 1:似乎是在 Apple 端所做的更改导致此错误。Apple 尚未提供官方回应/解释。下面提供了一些解决方法。我为 Health Kit 启用启用了临床健康记录使用,因为此解决方法不使用任何非 Apple 批准的更改。所以在技术上仍然不是最终的解决方案,而是一种解决方法。
更新 2:Apple 已经解决了这个问题,不再需要解决方法。
小智 17
I was facing the similar error.
I believe the Apple back-end has changed and has started applying a stricter rule to entitlement keys that take array values.
I believe the Apple back-end used to accept empty arrays for entitlement keys that took array values but now require the entitlement key to either not be present at all or to contain actual values.
Evidence to back this assertion:
<key>com.apple.developer.icloud-container-identifiers</key>
<array/>
Run Code Online (Sandbox Code Playgroud)
The Fix:
Remove or Comment out the following line from the .entitlements file:
<key>com.apple.developer.icloud-container-identifiers</key>
<array/>
Run Code Online (Sandbox Code Playgroud)
Now the TestFlight submission is successful.
Mar*_*lll 16
对我有用的是删除.entitlements文件中的以下行
<key>com.apple.developer.healthkit.access</key>
<array/>
Run Code Online (Sandbox Code Playgroud)
我遇到过同样的问题。我已经几个月没有更改权限了,突然出现了这个错误。可能是 Apple 更改了一些逻辑并对其后端授权验证应用了更严格的规则。
有趣的是,如果您创建一个新的 Xcode 项目并添加 HealthKit 权利,它会创建如下权利:
<key>com.apple.developer.healthkit</key>
<true/>
<key>com.apple.developer.healthkit.access</key>
<array/>
Run Code Online (Sandbox Code Playgroud)
小智 12
删除 'com.apple.developer.healthkit.access' 对问题没有帮助。到目前为止,我们只能希望等待苹果解决这个问题。
论坛上的主题(我无法访问 Marceeelll 的主题):https : //developer.apple.com/forums/thread/671352
有关的:
kir*_*ski 10
对我来说,解决方案是删除 .entitlements 文件中的以下行
<key>com.apple.developer.healthkit.access</key>
<array/>
Run Code Online (Sandbox Code Playgroud)
!如果您为 TestFlight 提交应用程序,这项工作!
如果您提交应用程序以供审核,这将不起作用 :(。二进制文件将被拒绝 ITMS-90000:此捆绑包无效 - $message。
什么对我有用:首先,当您启用应用程序的 HealthKit 功能时:您还必须选中临床健康记录复选框!

接下来,您必须在应用的 Info.plist 文件中提供 Health Records Usage 字符串。

小智 6
“icloud-container”对我来说也是同样的错误,只需在你的 . 权利文件:
<key>com.apple.developer.[YOUR-ERROR]</key>
<array/>
Run Code Online (Sandbox Code Playgroud)
苹果已经解决了这个问题。您现在可以尝试将应用程序提交到 TestFlight,而不进行任何更改。
Apple 开发者论坛上的主题:https ://developer.apple.com/forums/thread/671352
| 归档时间: |
|
| 查看次数: |
5351 次 |
| 最近记录: |