Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

How to archive watch kit app?

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 !

like image 777
Barbara Decaestecker Avatar asked Apr 19 '15 14:04

Barbara Decaestecker


People also ask

What is a WatchKit extension?

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.

Does watchOS use UIKit?

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.

How do I deploy Apple Watch app?

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.


2 Answers

When you select Archive, your whole project is automatically archived (with all the extensions and the frameworks correctly configured).

like image 163
BalestraPatrick Avatar answered Oct 12 '22 00:10

BalestraPatrick


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.

Screen Shot of Project and Target Selection dialogue from Xcode 6.3.1

like image 26
brianfit Avatar answered Oct 12 '22 00:10

brianfit