Why is my iCloud Drive AppFolder visible on MacOS, but disabled in iCloud Drive App on iOS?

I developed an iCloud Drive Export feature for my iOS App and it works.
I can see the exported Documents in our public AppContainerFolder in the iCloud Drive folder on Mac OS X 10.11.

But on iOS, I only can see the AppContainerFolder in the iCloud Drive app. It is disabled and I am not able to open that folder, or see the documents inside.

Image of the disable folder in the iOS iCloud Drive App

From the iCloud Drive settings, I can see that the files I have exported are in that AppContainerFolder in iCloud Drive.

Image of the AppContainerFolder inside the iCloud settings

Has anyone had such an issue with iCloud Drive?

I am using two app containers in my app, one with the “iCloud.com…” identifier for the exports and another with the “TeamIdentifier.com…” identifier for the Ensembles-CoreData syncing.
I explicitly use the URLs for the Containers using the method:

[[NSFileManager defaultManager] URLForUbiquityContainerIdentifier:@"iCloud.com..."]

I already tried to only use the TeamIdentifier-Container, but there was no change in the visibility of the AppContainerFolder.

I tried to bump the BundleVersion, I played around with the Info.plist NSUbiquitousContainers settings. I also made Builds available through TestFlight to external testers, to see if it has something to do with development devices.

The only thing, I hadn’t done yet, to release a new version to the AppStore with a new BundleVersion, to see if it has something to do with a productive app vs. an app in development.

Any tips and hints welcome.


Source: ios

Leave a Reply