App Store Connect 操作错误:关键 com.apple.developer.healthkit.access 的 ITMS-90164 []

Gar*_*abo 17 ios swift healthkit app-store-connect

我现在在尝试上传到应用商店时遇到此错误,但我没有对我的 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>
Run Code Online (Sandbox Code Playgroud)

在此处输入图片说明

kir*_*ski 2

删除 .entitlements 文件中的以下行

\n
<key>com.apple.developer.healthkit.access</key>\n<array/>\n
Run Code Online (Sandbox Code Playgroud)\n

这不起作用:(。二进制文件将被拒绝ITMS-90000: This bundle is invalid - $message.

\n

对我有用的是: \n首先,当您启用应用\xe2\x80\x99s HealthKit 功能时:您还必须选中“临床健康记录”复选框!\n在此输入图像描述

\n

接下来,您必须在 app\xe2\x80\x99s Info.plist 文件中提供健康记录使用字符串。\n在此输入图像描述

\n