Skip to content

[iOS] iCloud Drive folder is private #441

@frarees

Description

@frarees

Goxel is able to save to iCloud, but the folder is not visible on other devices.

There needs to be explicit intent to have a publicly accessible container (docs):

<key>NSUbiquitousContainers</key>
<dict>
    <key>iCloud.com.noctuasoftware.goxel</key>
    <dict>
        <key>NSUbiquitousContainerIsDocumentScopePublic</key>
        <true/>
        <key>NSUbiquitousContainerName</key>
        <string>Goxel</string>
        <key>NSUbiquitousContainerSupportedFolderLevels</key>
        <string>Any</string>
    </dict>
</dict>

The app then needs to write to a path (Documents/?) within the ubiquitous container (docs)

Also, .entitlements needed. Example:

<key>com.apple.developer.icloud-container-identifiers</key>
<array>
    <string>iCloud.com.noctuasoftware.goxel</string>
</array>

<key>com.apple.developer.ubiquity-container-identifiers</key>
<array>
    <string>iCloud.com.noctuasoftware.goxel</string>
</array>

<key>com.apple.developer.ubiquity-kvstore-identifier</key>
<string>$(TeamIdentifierPrefix)com.noctuasoftware.goxel</string>

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions