How to set Custom name an iCloud container?

In the application iCloud integration but in the container, it displays the name of the bundle that owns the container.

  • Configuration iCloud capability from developer account

  • Enable iCloud capability from Xcode

  • Added keys and value into info.plist file as below

    <key>NSUbiquitousContainers</key>
    <dict>
      <key>iCloud.com.example.applepaydemo</key>
      <dict>
        <key>NSUbiquitousContainerName</key>
        <string>Apple Demo</string>
        <key>NSUbiquitousContainerIsDocumentScopePublic</key>
        <true/>
        <key>NSUbiquitousContainerSupportedFolderLevels</key>
        <string>Any</string>
      </dict>
    </dict>
    

Issue: It displays applepaydemo name of container not Apple Demo in iCloud Manage Account Storage

Answered by DTS Engineer in 798799022

The system manages the app name and icon shown in Settings -> Apple ID -> iCloud -> Manage Account Storage in the following way:

  • For an App Store app, the system uses the associated iCloud container ID to retrieves the app name and icon from the App Store.

  • For an app that isn't in App Store and is installed with Xcode, the system uses the last component of the iCloud container ID as the app name, and the Xcode-generated icon.

In your case, applepaydemo is the last component of the iCloud container ID, and so is right assuming your app isn't on the App Store yet.

Best,
——
Ziqiao Chen
 Worldwide Developer Relations.

The system manages the app name and icon shown in Settings -> Apple ID -> iCloud -> Manage Account Storage in the following way:

  • For an App Store app, the system uses the associated iCloud container ID to retrieves the app name and icon from the App Store.

  • For an app that isn't in App Store and is installed with Xcode, the system uses the last component of the iCloud container ID as the app name, and the Xcode-generated icon.

In your case, applepaydemo is the last component of the iCloud container ID, and so is right assuming your app isn't on the App Store yet.

Best,
——
Ziqiao Chen
 Worldwide Developer Relations.

How to set Custom name an iCloud container?
 
 
Q