You are receiving an error like:

The requested container identifier is not permitted by the client's entitlement


Most likely if you check the .entitlements file you will find an entitlement like If this is the case then change them to


You have enabled iCloud’s CloudKit which is still in pre-release. Basically you just have to go the the app id in the developer portal and delete any associated iCloud containers attached to it. The original answer can be found here.