Search code examples
xcode8icloudios10.2

Automatic signing is unable to resolve an issue with the target's entitlements file


I'm following this tutorial on how to make an app that saves user generated data in iCloud. However, I'm running into this issue, and am so confused about what I need to do. Please help

Xcode screenshot

The first error says

Automatic signing is unable to resolve an issue with the "iCloudStore" target's entitlements file. Remove the entitlements or switch to manual signing and resolve the issue by downloading a provisioning profile from the developer website.

and the second one says

Provisioning profile "iOS Team Provisioning Profile: com.Kaen.TravisCloudStore" doesn't include the com.apple.developer.icloud-container-identifiers entitlement.


Solution

  • Make sure you're using your "Developer" profile and not your "Distribution" profile. Also make sure your app name is unique.