0 Replies
      Latest reply on Jul 8, 2019 7:09 AM by jq1106
      jq1106 Level 1 Level 1 (0 points)

        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?