Post

Replies

Boosts

Views

Activity

Reply to iCloud Documents + UIDocumentBrowserViewController
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?
Oct ’24