NSUbiquitousKeyValueStore error: no valid com.apple.developer.ubiquity-kvstore-identifier entitlement

后端 未结 5 680
清酒与你
清酒与你 2020-12-10 14:29

I\'m having a problem integrating iCloud with my app.

When I set test out iCloud availability, I receive Success for the function

NSURL *iCloudURL =          


        
5条回答
  •  粉色の甜心
    2020-12-10 15:14

    I did the follow to get this to work for me (Xcode 4.2.1):

    1. In Xcode, go to your target > Summary > at the bottom, click Enable Entitlements.
    2. In the iOS Provisioning Portal, go to App IDs and enabled iCloud support. (You may not have to do this, but it worked for me.)
    3. Edit your Provisioning Profile to force it to update; then download this profile and open it so it automatically launches in Xcode.
    4. Clean and build your app to your device.

提交回复
热议问题