Can I create a CKRecordZone on the fly in the production environment of CloudKit

90 views Asked by At

I am creating a CKRecordZone on the fly in code, which of course works in development on CloudKit.

But will it work in production? Can I create CKRecordZones in production on the fly? Or do I need to rethink the design?

1

There are 1 answers

0
rmaddy On BEST ANSWER

Yes, you can create zones in a user's private database on the fly in production.

Just make sure you deploy the scheme to production when ready. Please see the Deploying the Schema chapter in the CloudKit Quick Start

Also be sure you test your app using Test Flight using the production database before submitting your app to the App Store.