Hi. Thank you for your reply! To be clear, none of these changes will affect the current version of the app on the App Store, correct? I can add and remove ubiquity containers, change entitlements, etc.
Only if I were to proceed to publish a new version with the changes, would these changes take affect?
Post
Replies
Boosts
Views
Activity
That worked! My ubiquity container is now showing in iCloud Drive.
I have a follow up question concerning my setup of com.apple.developer.icloud-container-identifiers and com.apple.developer.ubiquity-container-identifiers:
Here is my setup:
<key>com.apple.developer.icloud-container-identifiers</key>
<array>
<string>iCloud.com.mycompany.documents</string>
<string>iCloud.icloud.com.mycompany.myapp</string>
</array>
and
<key>com.apple.developer.ubiquity-container-identifiers</key>
<array>
<string>iCloud.com.mycompany.documents</string>
<string>iCloud.icloud.com.mycompany.myapp</string>
</array>
Yes, “iCloud.icloud…” is an annoying typo. iCloud.com.mycompany.documents is used for iCloud Documents and iCloud.icloud.com.mycompany.myapp is used for CoreData + iCloud.
The order of com.apple.developer.icloud-container-identifiers seems to matter to UIDocumentBrowserViewController, as it saves documents created in the Recents tab to the first container of this list.
I now read here that “One of these strings must be the bundle identifier for your app” for com.apple.developer.ubiquity-container-identifiers. Is this still the case? None of my strings listed in either list corresponds to my bundle identifier. Note that during my testing everything seems to work fine with the above setup. Can I safely continue with the above setup?