我有一個使用iCloud的Xamarin iOS應用程序。我正確配置了預配置配置文件和我的應用ID,並在我的開發機器上對其進行了刷新。當我嘗試驗證在Xcode Organzier的應用程序包(上載)有四個錯誤:iCloud:應用程序在Xamarin Studio中驗證,但不在XCode中
- 無效代碼簽名應享權利:使用權利(
com.apple.developer.icloud-container-identifiers
在Payload/vplan.app/vplan
)未在iOS的 - 無效代碼簽名支持權利:使用權利(
com.apple.developer.icloud-container-development-container-identifiers
在Payload/vplan.app/vplan
)未在iOS的支持 - 無效代碼簽名權利:使用權利(
com.apple.developer.icloud-services
在Payload/vplan.app/vplan
)未在iOS的 - INV支持alid代碼簽名應享權利:在Xamarin Studio中驗證時未在iOS的支持
不僅如此,我永遠不會設置這些鍵,這些錯誤也不會顯示中使用的權利(com.apple.developer.icloud-container-environment
在Payload/vplan.app/vplan
)。
這裏的Entitlements.plist
:
<?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.centrallink.vplan</string>
</array>
<key>com.apple.developer.ubiquity-kvstore-identifier</key>
<string>$(TeamIdentifierPrefix)$(CFBundleIdentifier)</string>
</dict>
</plist>
這個問題讓我瘋狂所以我會非常感謝您的幫助!
同樣的問題在這裏。我使用Xcode6測試版來開發現有的Objective C應用程序。 – elGeekalpha
我安裝了Xcode beta 6-2,但我使用Xcode 5 Organizer進行驗證。 – Martin
我也使用Xcode 5進行驗證,但也許因爲「新的iCloud api」或類似的東西而發生錯誤... – elGeekalpha