I am building my first iOS app that I actually want to release in the App Store.
At the moment I want to test my app via TestFlight. The data is not synchronized between my iPhone and iPad. It is synchronized when I deploy the app on my devices via debugging in Xcode.
I am using SwiftData and have activated following capabilities in my target:
- iCloud (Services: CloudKit, I also created a dedicated container for this app)
- Background Modes: Remote notifications
- In-App Purchase
- Push Notifications
The capabilities are for “All” (the option left besides Debug and Release in the top bar so I think that is fine)
When I make a test subscription to the app on any plan (monthly/yearly) on my iPhone, the subscription also synchronizes on iPad without even restarting the app in real time. (There is an indicator if you are using the free version and it disappears as soon as I subscribe on the iPhone)
I cannot find the bug and I am assuming there is just a small thing that is missing.
I wanted to see items I create on iPhone on the iPad as well. If I create something on the iPad I want to see it on the iPhone as well.