Is Team Identifier still necessary for iCloud Cont

2019-08-09 03:36发布

问题:

I have a quick question: I noticed that with Xcode 6 that the default iCloud containers are named something like iCloud.com.company.myApp. Even though my Team-Id is selected under the General>Identity project settings. In the past I would have container ids including my Team-Id like ABC12D3EF8.com.company.myApp.

Will I need to change the iCloud container to include the Team-Id for any future mac app? or is the iCloud prefix enough in a post iCloud Drive era?

Thanks

回答1:

The iCloud prefix is required for any new iCloud containers. Older apps can still continue to use the Team Identifier prefix and will work as usual for iCloud Drive. The new iCloud prefixed containers can be used with or without iCloud Drive providing you set the appropriate entitlements.