Integrated CloudKit to my application , In Debug mobe it is working properly , saving CKRecords to iCloud, updating and Fetching CKRecords are working In debug mode.
In release mode, above mentioned functionalities are not working.
1. Enabled iCloud to my Bundle Identifier in Developer account
2. Generated the Distribution Cerificate and appstore provissionning profile
3. Enabled iCloud in X-code Capabilities and Created a default CloudKit Container
And try to save the records to iCloud, It returning error CKError: "Permission Failure" (10/2007); server message = "WRITE operation not permitted".
So unable to upload Records in Release mode.
Please suggest,