You are receiving an error like:
The requested container identifier is not permitted by the client's com.apple.developer.ubiquity-container-identifiers entitlement
Most likely if you check the .entitlements file you will find an entitlement like com.apple.developer.icloud-container-identifiers. If this is the case then change them to com.apple.developer.ubiquity-container-identifiers.
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.
RelatedXcode Warnings With Swift
Exchange Issues On OSX
Facebook Invalid Redirect URI
Refresh favicon in browser
Using Gmail With a Custom Domain
OSX Keyboard Icons
Handy Xcode Snippets
Push Segue Without Animation
Library Not Loaded Image Not Found Error