2016-10-23 38 views
2

今年推出了CloudKit共享,我試圖實現它。通過CloudKit打開共享文檔時出錯

我使用的是UICloudSharingController,我將共享和它的根記錄保存在成功完成處理程序中。然而,當我分享鏈接(例如,通過iMe​​ssage的),並打開另一臺設備上(不同的iCloud帳戶,相同的生成),它顯示了以下錯誤:

Couldn't open "Share"

You need a newer version of APPNAME to open this, but the required version couldn't be found in the App Store. If you're not sure which version to use, check with the owner.

由於這是一個新的應用程序,它是當然不是在App Store中。我需要首先測試共享(雞還是雞蛋?),所以任何人都知道如何測試CloudKit共享?

回答

6

原來,我錯過了我的Info.plist

<key>CKSharingSupported</key> <true/>

條目。這解決了錯誤。

+0

非常感謝您面對同樣的問題 – user1046037

相關問題