So i created an App and for some time it was working fine. The app has features to show pdf to users without logging in. I needed to upload all data to cloudkit on public database. I was not having knowledge that there are 2 mode being a noob in coding so after i saved all records in development mode in cloudkit when i published my app, i was not able to see them (Reason because live mode works in Production mode). So i need help now to transfer data from development mode to production mode or any app or code that can help me upload all data in production mode.
Data Transfer or Upload to Cloudkit in Published Mode
If the data isn't a lot, you might consider using CloudKit Console to upload the data. Remember to pick the right CloudKit container, environment (production), and database (*****).
If manually adding data isn't a choice, you can write an app for yourself to generate (and maintain) the data. To have your app read and write the production environment, add the following entitlement to the app's .entitlements
file:
<key>com.apple.developer.icloud-container-environment</key>
<array>
<string>Production</string>
</array>
Best,
——
Ziqiao Chen
Worldwide Developer Relations.