Switching from production to development database

Hello!

I have a live app in the appstore which uses NSPersistentCloudKitContainer. When I was working on the app, whatever data was created while testing was reflecting in the "Development" section of the CloudKitDashboard. Then, when time came for releasing the app, I had pushed my schema to production and everything has been working well.

Recently, I have been working to make some changes in my code and while testing I realised that that I am being pointed to "Production".

Now how do I move back to using "Development" while working on the app. I have tried changing values of in .entitlement file. But it still does not give me what I want. Below is my entitlement values:

<key>aps-environment</key>
<string>development</string>
<key>com.apple.developer.icloud-container-environment</key>
<string>Development</string>
<key>com.apple.developer.icloud-container-identifiers</key>

Does anyone have any suggestions?

Switching from production to development database
 
 
Q