Application iCloud support

Asked 1 years ago, Updated 1 years ago, 101 views

I am trying to make the existing app (AppID already created) compatible with iCloud.
You may have edited a previously created AppID in the provisioning portal, enabled iCloud (which is in the Configurable state), created a new provisioning profile for development using that AppID, and downloaded it to XCode.

In XCode, after turning on iCloud in the Target setting (Capabilities), if you enable iCloud Documents check for the service, you will get an error.
By the way, if you check only Key-value-storage, there will be no error.
Capabilities screen

When I try to boot from the actual machine, I get the following error and I can't boot.
error message

I would appreciate it if you could help me solve the error.
Thank you for your cooperation.

[Additional note]
The reason for the failure to boot on the actual machine was that XCode's BuildSetting configuration was automatically replaced, perhaps because of AppID changes and provisioning profile updates on the provisioning portal.When I re-set the Provisioning Profile item, I was able to start it on the actual machine.
However, iCloud still has the same error as when I asked.

xcode

2022-09-30 21:13

1 Answers

I'm sorry if you've already checked.
The Apple Developer site requires iCloud Container settings apart from App ID settings.

https://developer.apple.com/account/ios/identifier/cloudContainer
After creating the iCloud Container here, please link the iCloud Container to the App ID on the Edit App ID screen.


2022-09-30 21:13

If you have any answers or tips


© 2024 OneMinuteCode. All rights reserved.