簡體   English   中英

ERROR ITMS-90046:不支持關鍵'com.apple.developer.icloud-container-environment'的值'開發'

[英]ERROR ITMS-90046: value 'Development' for key 'com.apple.developer.icloud-container-environment' is not supported

我收到以下錯誤:

錯誤ITMS-90046:“無效的代碼簽名權利。您的應用程序包的簽名包含iOS不支持的代碼簽名權利。具體而言,'Payload'中關鍵'com.apple.developer.icloud-container-environment'的值'開發' /AppName.iOS.app/AppName.iOS'不受支持。“

“開發”甚至沒有在entitlements.plist中。 雖然在一個字符串數組中有iCloud認證的名稱(這適用於上一次上傳,但我不知道是什么導致它破壞)。 我還嘗試刪除所有認證和規定並重做它們。 沒變。

我也試過以下無濟於事:

ERROR ITMS-90164/90046:無效的代碼簽名權利

https://forums.xamarin.com/discussion/48831/tinyurl.com/oqbw7ra

https://forums.xamarin.com/discussion/58051/ios-entitlement-error-90046

建議?

編輯:

<?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>com.apple.developer.networking.wifi-info</key>
    <true/>
    <key>keychain-access-groups</key>
    <array>
        <string>$(AppIdentifierPrefix)com.PrivateAppName</string>
    </array>
    <key>com.apple.developer.icloud-container-identifiers</key>
    <array>
        <string>iCloud.com.PrivateAppName</string>
    </array>
    <key>com.apple.developer.ubiquity-kvstore-identifier</key>
    <string>$(AppIdentifierPrefix)$(CFBundleIdentifier)</string>
</dict>
</plist>

結束了刪除iCloud,因為我發現了一種不使用它的方法。 我使用安全存儲首選項 請注意,用於存儲它們的密鑰必須包含應用程序標識符,無論出於何種原因,否則它並不總是從設備(手機,平板電腦等)中提取它。

暫無
暫無

聲明:本站的技術帖子網頁,遵循CC BY-SA 4.0協議,如果您需要轉載,請注明本站網址或者原文地址。任何問題請咨詢:yoyou2525@163.com.

 
粵ICP備18138465號  © 2020-2024 STACKOOM.COM