我在Mac App Store中的應用程序,一個已經使用了一年以下權利建成沒有任何問題:的Xcode 6會自動將不受支持的權利上編譯
<?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.ubiquity-container-identifiers</key>
<array>
<string>$(TeamIdentifierPrefix)com.example.myapp</string>
</array>
<key>com.apple.security.app-sandbox</key>
<true/>
<key>com.apple.security.files.bookmarks.app-scope</key>
<true/>
<key>com.apple.security.files.user-selected.read-write</key>
<true/>
<key>com.apple.security.network.client</key>
<true/>
<key>com.apple.security.print</key>
<true/>
</dict>
</plist>
現在,當我嘗試上傳我的第一個版本使用Xcode 6我從Itunes Connect獲得了一些奇怪的錯誤。它說的基本上是:
Invalid Code Signing Entitlements - Your application bundle's signature
contains code signing entitlements that are not supported on Mac OS X; this
may happen if your Mac OS X project was ported from iOS. Please check your
Xcode project's code signing entitlements configuration, and remove any
unneeded entitlements.
Specifically, value "development" for key "com.apple.developer.aps-environment" is not supported.
Specifically, key "com.apple.developer.icloud-container-environment" is not supported.
事情是,我無法在我的項目中找到對這些權利的任何引用。但是,當我檢查組織中的「Binary and Entitlements」窗口時,我發現Xcode已將這些添加到我的請求權利中。
權利從哪裏來,以及如何解決問題?
你有沒有解決這個問題?當XCode無效時插入'com.apple.developer.icloud-container-environment'鍵時,我遇到了同樣的問題。 – Muzza 2016-06-06 23:46:06