[英]App Store Connect Operation Error: ITMS-90164 [] for key com.apple.developer.healthkit.access
我現在在嘗試上傳到應用程序商店時收到此錯誤,但我沒有對我的 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>
我不會過多更改我們的代碼,這似乎是 Apple 方面的問題,希望他們能盡快修復。 https://developer.apple.com/system-status/
更新:看起來 Apple 昨天(2021 年 1 月 21 日)修復了這個問題。 我再也看不到錯誤了。
我有同樣的問題。 如果我正確讀取該錯誤,它會失敗,因為com.apple.developer.healthkit.access
的值在 App Store 配置文件和權利文件中不同。
而且確實不一樣。
當我從 Xcode 啟用 HealthKit 功能時,它會將此添加到權利文件中:
<key>com.apple.developer.healthkit</key>
<true/>
<key>com.apple.developer.healthkit.access</key>
<array/>
當我從https://developer.apple.com/account/resources/profiles/list創建一個 App Store 配置文件,然后下載它並用文本編輯器打開它時,我看到了這個:
<key>com.apple.developer.healthkit</key>
<true/>
<key>com.apple.developer.healthkit.access</key>
<array>
<string>health-records</string>
</array>
我不確定是否可以設置配置文件為com.apple.developer.healthkit.access
設置的內容,因此看起來使它們具有相同值的唯一方法是啟用“臨床健康記錄”HealthKit 功能來自 Xcode,以便它也將其添加到權利文件中。 這聽起來不像是正確的解決方案,因為它會強制您啟用“臨床健康記錄”,即使您不使用它也是如此。 在我看來,這是 Apple 最近的一項更改,它更改了權利文件中的值與配置文件中的值的比較方式,因為以前沒有發生過,而且我既沒有更改權利文件也沒有更改自上次成功發布應用程序以來的配置文件。
在我看來,從權利文件中刪除com.apple.developer.healthkit.access
密鑰也不是正確的解決方案,因為當您這樣做時,HealthKit 功能已從 Xcode 的“簽名和功能”UI 中刪除。 我還在這里看到一些人報告說,當你這樣做時,該應用程序沒有通過 App Store 審查。 Xcode 在添加 HealthKit 功能時將其添加到權利中,為什么我們需要手動刪除它?
我們有同樣的問題。 將“health-records”添加到 entitlements 文件並結合 plist 文件中的 NSUsage 描述肯定可以正常工作,但仍然是一種解決方法。 由於我們不想訪問臨床健康記錄,也不想將其顯示在某處(App Store),因此這不是我們的解決方案。 有人不知道此更改是否會顯示在某個地方,例如在 App Store 中嗎?
2021-01-22T02:34:25.810Z
:TestFlight 沒有拒絕我的構建,包括
<key>com.apple.developer.healthkit.access</key>
<array/>
聲明:本站的技術帖子網頁,遵循CC BY-SA 4.0協議,如果您需要轉載,請注明本站網址或者原文地址。任何問題請咨詢:yoyou2525@163.com.