My Apple watch app is now finished ! I'd like to archive it to submit it for iTunes validation. My problem is that I can archive the iPhone app, but no way to archive the whole project...
Do anyone know how to submit an iPhone app WITH its watch kit extension app ?
Have a great day !
The WatchKit framework provides infrastructure for creating watchOS apps, including an extension delegate that manages background tasks, extended runtime sessions, and Siri intents. The framework also performs other support tasks, such as accessing information about the user's Apple Watch.
All of watchOS is based on the same frameworks we use on iOS - system apps use a framework that subclasses a bunch of UIKit apps, called PepperUICore.
Just build and run your iPhone application. Then, in the "Apple Watch" app on your iPhone, find your application, tap on it, and activate "Show App on Apple Watch". It may take a few seconds until the your Watch app has been installed.
When you select Archive, your whole project is automatically archived (with all the extensions and the frameworks correctly configured).
One thing it took me a while to figure out that might help: you need to select your project AND the "IOS Device" as target in order for your "Archive" option to be enabled. At that point, BalestraPatrick is correct that the WatchKit app compiles as well.
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With