TEAM LICENSES: Save money and learn new skills through a Hacking with Swift+ team license >>

Cloudkit app with same codebase, macOS uses development database, iOS uses production

Forums > Swift

I have this situation where I released an app with the same code base for iOS and macOS. I use Xcode-cloud for the processing of the apps and let Xcode and Xcode-cloud handle all my signing.

However, the resulting apps, both retrieved from the App Stores, cannot share data together via Cloudkit as the iOS version is using the correct production version and the macOS version is using the wrong development version of the application.

I already embedded cloudkit.framework as mentioned here: https://developer.apple.com/forums/thread/717838

How can I fix this?

1      

Hacking with Swift is sponsored by Blaze.

SPONSORED Still waiting on your CI build? Speed it up ~3x with Blaze - change one line, pay less, keep your existing GitHub workflows. First 25 HWS readers to use code HACKING at checkout get 50% off the first year. Try it now for free!

Reserve your spot now

Sponsor Hacking with Swift and reach the world's largest Swift community!

Reply to this topic…

You need to create an account or log in to reply.

All interactions here are governed by our code of conduct.

 
Unknown user

You are not logged in

Log in or create account
 

Link copied to your pasteboard.