【发布时间】:2021-04-19 02:07:00
【问题描述】:
我现在在尝试上传到应用商店时遇到此错误,但我没有对我的 healthkit 功能进行任何更改,而且一切看起来都很好(见图)。为什么说值为[]
?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>
【问题讨论】:
-
您确实有一个
com.apple.developer.healthkit.access的空数组,如错误所示。您应该删除此密钥,因为您不需要访问临床记录并且您的配置文件没有 HealthKit 功能权利 -
我遇到了同样的问题,但
com.apple.developer.icloud-container-identifiers -
在删除 com.apple.developer.healthkit.access 二进制文件后我也面临同样的问题
-
这对我有用——看起来苹果修复了这个错误
标签: ios swift app-store-connect healthkit