Search code examples
ioscloudkit

Possible to set default CloudKit container not based on application name?


When I turn on CloudKit in Xcode, it set and create a default container based on the name of the app. Is it possible to set a different default name? I do not want to see a new container name on the list in CloudKit dashboard, but use an existing one.

enter image description here


Solution

  • you can override in Info.plist the Bundle Identifier field. That will have change the default container ID. I changed it com.kukodajanos.$(PRODUCT_NAME:rfc1034identifier) to com.kukodajanos.Dating

    enter image description here enter image description here enter image description here enter image description here