MicroStrategy ONE

Enable iCloud Support for iOS

Enabling iCloud support in your custom Library app allows you to take advantage of the same functionality as the App Store version. With this feature, you can sync all Library connections and other data across devices in your custom Library app.

iCloud requires an Apple Developer or Enterprise account.

  1. Specify a bundle or app ID in the custom Library project.

  2. In Apple Developer, find the application ID in the Identifiers section, or create it if it is not present. If you are automatically managing profiles in Xcode, skip to step 7.

  3. In the list of capabilities, check iCloud. It is not necessary to configure an iCloud container as only the key-value storage service is used.

  4. Save the changes to the app identifier.

  5. Generate a new provisioning profile that includes this new explicit ID, choosing the appropriate distribution or development certificate.

  6. Download the new provisioning profile and double-click to install it in Xcode.

  7. Go to the Signing and Capabilities tab and select the new profile.

  8. Click + to add a new capability.

  9. Search for "iCloud" and select it.

  10. Select the Key-value storage checkbox. You can see a new entitlements file added to your project.

  11. Go to Build Settings and use the new entitlements file in place of the default entitlements under the iPad folder.

  12. If you are testing both development and distribution builds, you may receive an error on get-task-allow. This should be true for development, but false for distribution. You can duplicate the entitlements file, enable the value, and reference those files, as shown above.

  13. When running the custom app on the device, allow iCloud when prompted or manually enable it in iOS Settings.