Getting my iOS apps folder to appear in iCloud drive

As the title suggests I'm having an issue getting my folder to appear in iCloud drive both through icloud.com or iCloud drive on my mac, it's not even appearing via the files app on the device.
What I added to info.plist

<key>NSUbiquitousContainers</key>
<dict>
<key>iCloud.com.myapp.ios</key>
<dict>
<key>NSUbiquitousContainerIsDocumentScopePublic</key>
<true/>
<key>NSUbiquitousContainerName</key>
<string>MyAppName</string>
<key>NSUbiquitousContainerSupportedFolderLevels</key>
<string>Any</string>
</dict>
</dict>


The file I'm moving is being downloaded locally, and when it completes I run

FileManager.default.setUbiquitous(true, itemAt: source, destinationURL: destination)


If I look in the /private/var/mobile/Library/Mobile\ Documents/iCloud~com~myapp~ios directory the file did get moved there, and it does get synced to iCloud, because it appears on other devices as well, but I can't for the life of me get the folder to show up so people can actually access the files.
Is there something else I'm missing?

Replies

Have you found a solution for this? I am having the same problem and, to be honest, this is driving me crazy. I cannot find a way to show my app's iCloud Drive folder.


I have set the info.plist file properly, bumped the build version, reinstalled the app, but the folder never appears, however when I search for the files via terminal I can see them, they are being copied without any issue.