问题描述
现在尝试上载到应用商店时出现此错误,但是我尚未对我的healthkit功能进行任何更改,并且一切看起来都很好(参见图片).为什么说值是 []
I am now getting this error when trying to upload to the app store, but I haven't made any changes to my healthkit capability and it everything looks fine (see images). Why is it saying the value is []
<
?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE plist PUBLIC "-//Apple//DTD PLIST 1.0//EN" "http://www.apple.com/DTDs/PropertyList-1.0.dtd">
<plist version="1.0">
<dict>
<key>aps-environment</key>
<string>development</string>
<key>com.apple.developer.healthkit</key>
<true/>
<key>com.apple.developer.healthkit.access</key>
<array/>
<key>com.apple.developer.icloud-container-identifiers</key>
<array>
<string>iCloud.codes.myndarc.newFitnessApp</string>
</array>
<key>com.apple.developer.icloud-services</key>
<array>
<string>CloudKit</string>
</array>
<key>com.apple.security.application-groups</key>
<array>
<string>group.com.myndarc.newFitnessApp</string>
</array>
</dict>
</plist>
推荐答案
删除.entitlements文件中的以下行
Remove the following line in the .entitlements file
<key>com.apple.developer.healthkit.access</key>
<array/>
这不起作用:(.二进制将被拒绝 ITMS-90000:此捆绑包无效-$ message.
This not work :(. Binary will be rejected ITMS-90000: This bundle is invalid - $message.
最适合我的工作:首先,当您启用应用程序的HealthKit功能时,还必须选中临床健康记录"复选框!
What work for me:First, when you enable your app’s HealthKit capabilities: you must also select the Clinical Health Records checkbox!
接下来,您必须在应用的Info.plist文件中提供健康记录使用情况"字符串.
Next, you must provide a Health Records Usage string in your app’s Info.plist file.
这篇关于App Store Connect操作错误:关键com.apple.developer.healthkit.access的ITMS-90164 []的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持!