How can I copy CloudKit container schema to another container?

We'd like to make a new app starting from the same CloudKit schema (record types, etc.) that another app of ours has defined. Is there some way, particularly in the CloudKit Dashboard, to copy the schema from the existing app's container to the new app's container?

Replies

Doesn't appear there is a simple migration/copy lever to pull, leaving you to DIY, if at all.

Let me speculate wildly here....try this.....

Take the first app operating in the sandbox.

Change its Bundle identifier to the new app's Bundle Identifier.

Run the first app with the different Bundle Identifier and use it to create the schema again - I think it will do that in the new app's container.

Change the Bundle Identifier of the first app back!

Deploy from Development to Production.