简体   繁体   中英

iCloud Entitlement to app?

So, I've registered for Apple's Developer program just yesterday and I've added my details in Xcode.

I'm just playing around with it and following this tutorial as a learning curve if you wish (as I haven't really played much with libraries like CloudKit, Location Manager and so on):

https://thinkster.io/swift-ios-app/#saving-our-data-using-cloudkit-enabling-cloud-kit-in-our-app

If you scroll a bit, you will see that it requires to sign in with your developer's account in order to activate iCloud.

That's cool, but I get 2 errors that I can't figure out how to solve (and where to solve it):

我看到的错误

I'm new to this and I tried google-ing it (of course), but I couldn't figure out how to solve it.

Click Capabilities to view app services you can add to your app. From there, turn on the iCloud service:

在此处输入图片说明

Read more about this here

Edit: You may need to enable iCloud in Member center too

I solved the issue. I can't really tell how, but I've connected my iPhone to Xcode and clicked on "Fix issues" again it worked this time. Not sure why or how...

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM