Store File to iCloud?

Part 2:

You’ll need to make a plist file with the following content:

<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE plist PUBLIC "-//Apple//DTD PLIST 1.0//EN" "http://www.apple.com/DTDs/PropertyList-1.0.dtd">
<plist version="1.0">
<dict>
	<key>NSUbiquitousContainers</key>
    <dict>
        <key>iCloud.com.mycompany.myapp</key>
        <dict>
            <key>NSUbiquitousContainerIsDocumentScopePublic</key>
            <true/>
            <key>NSUbiquitousContainerName</key>
            <string>My Example App</string>
            <key>NSUbiquitousContainerSupportedFolderLevels</key>
            <string>None</string>
        </dict>
    </dict>
</dict>
</plist>

Note the key near the top that has the same identifier that you added to your account:

NSUbiquitousContainerName defines the name of the folder that appears for your app (as opposed to the name of your app’s bundle).

iCloud.com.mycompany.myapp

Drag this plist file to your project