Search code examples
iosxcodeapp-storeapp-store-connectwatchos

Which target do I build for App Store submission including Watch extension?


I have a universal iOS app which runs on all iOS 9 capable iPhone and iPads. The app also has a Watch extension. When I come to submit the first version to the App Store, which target do I build, archive and submit? Do I have to archive the Watch extension target, or will the Watch extension be included if I build, archive and submit the iOS app target? Or does it not matter?


Solution

  • Apple documentation states the following:

    Adding a Watch app target to your Xcode project creates two new executables and updates your project’s build dependencies.

    Furthermore, regarding building of the app:

    Building your iOS app builds all three executables (the iOS app, Watch app, and WatchKit extension) and packages them together inside the iOS app’s bundle.

    (emphasis mine)