Testing CloudKit Apps using the simulator

Hey everyone!

I'm starting a new Multiplatform application with Core Data and CloudKit checked off. Before continuing I want to make sure the data is persisting between devices BUT can't figure out how to test that with the simulator. I can run the app on my Mac (under my apple account), can't run it on my phone (didn't download the beta), and when I try to log into the simulator with my Apple ID it gives me a "Verification Failed - An unknown error occurred". How do you test synced data between simulated devices???

  • I've gotten my iPad hooked up so I have two devices to test with (macOS and iPad). That said I'm still curious to know whether I can log into a simulator (either with my own Apple ID or a dummy one - how to create?) so I can test through my computer or try it on other simulated devices I don't own.

Add a Comment

Replies

So I just ran an app that has CloudKit on my iPhone and iPad to text if what I heard, which was that you needed to be part of the Apple developer program to use CloudKit, was true. And the data that I inputted on my phone was not going to my iPad. So if you pay $100 annually, which isn’t a bad investment if you plan on doing this for a while and getting in bested, for the Apple development program.

  • Hi. I’m part of the apple developer program. I’m assuming the two devices need to be logged into the same apple account to share data. But I need to use a simulator and it won’t let me log in with my own account (guessing verification isn’t hooked up). Without the simulators I can only run the app on my Mac (no one to share with!) As I’m running the beta Xcode and macOS so it won’t run on my older os phone and somehow doesn’t see my iPad as a device (plugged in with beta but older).

Add a Comment