URLForUbiquityContainerIdentifier returns nil even if configured correctly

后端 未结 8 2198
小鲜肉
小鲜肉 2020-12-31 06:47

I am having the problem, that URLForUbiquityContainerIdentifier is returning nil in some cases even if the user has set up everything correctly in the settings. My code:

8条回答
  •  轻奢々
    轻奢々 (楼主)
    2020-12-31 07:36

    Today I experienced this problem again.

    This time it was because I had an invalid provisioning profile.

    Invalid provisioning profile

    On the developer site, I had to generate a new provisioning profile. Afterward reload the provisioning profiles within Xcode5. Now URLForUbiquityContainerIdentifier again returns valid urls.

提交回复
热议问题