2012-04-03 58 views
1

即時通訊iCloud密鑰值存儲問題.. 我目前有一個核心數據由iCloud同步工作,但我無法獲得KV Store工作 即時得到:沒有有效的com.apple.developer.ubiquity-kvstore-identifier權利AD HOC iCloud

com.domain.appname has no valid com.apple.developer.ubiquity-kvstore-identifier entitlement 

com.domain.appname是我的appid,掩蓋隱私的格式..

這已經有一段時間了,和香港專業教育學院有這個問題看到有人和重新安裝應用程序時,問題不復存在,但這不適用於我。不知道爲什麼。

我的權利:

<?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.domain.appname</string> 
    </array> 
    <key>com.apple.developer.ubiquity-kvstore-identifier</key> 
    <string>$(TeamIdentifierPrefix)com.domain.appname</string> 
    <key>keychain-access-groups</key> 
    <array> 
     <string>$(TeamIdentifierPrefix)com.domain.appname</string> 
    </array> 
</dict> 
</plist> 

如果你有什麼事就問,謝謝!

+0

您好尼古拉斯·S,你是怎麼解決這個問題? – 2014-11-10 10:08:25

回答

2

this link爲我工作。嘗試這個。 重新安裝應用程序以及退出xcode並重新啓動設備。 它會正常工作。

+0

感謝您的建議虐待它,並回來!編輯:不,它沒有工作..仍然是同樣的問題 – 2012-09-28 22:30:11

0

簡單地說,錯誤是說,com.apple.developer.ubiquity-kvstore標識「密鑰」是從當你在能力使得其iCloud中已生成的授權文件丟失。按照我附上截圖的步驟:

或1。只要到授權文件並右鍵單擊任意行,並選擇顯示原始鍵/值

  • 當您將鼠標懸停在授權文件行上(頂部),會出現一個加號按鈕。

  • 點擊它,下拉列表會出現,選擇com.apple.developer.ubiquity-kvstore標識符和值,只需要複製並粘貼此$(AppIdentifierPrefix)YOUR_BUNDLE_ID

  • 清潔。建立。享受。

  • Entitlement file screen shot