My iOS and Mac apps have been launched to the App Store and all of my users, including myself, are using the CloudKit production database. My question is, is there any way to target the production environment for my development builds? It seems there is no way to target the production environment outside of the Mac App Store, and for iOS, only Ad Hoc distribution can target the production environment.
CloudKit it's Apple's Backend as a Service platform and it's specially designed for iOS apps. CloudKit was introduced in the year 2014 as an amazing solution to integrate iCloud in your applications with ease. This cloud solution has been introduced by Apple.
Container. A CloudKit. Container object provides access to an app container, and through the app container, access to its databases. It also contains methods for authenticating and fetching users.
Add the following entry to your entitlements file and perform a clean build.
This allows you to run your application in Xcode with the CloudKit in the production mode.
Entry to add: com.apple.developer.icloud-container-environment
with value: Production
. Note: Will not work with simulator
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With