Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Exclude App Extension (WatchKit) from Xcode build script / xcodebuild

The CI service we are using at the moment works from iOS 8.1 which (correct me if I'm wrong) does not support the Apple Watch / WatchKit. I've done some searching and poking around Xcode, but to no avail.

I'm looking for a way to exclude my Apple Watch extension from the build - either through Run Build Script in Xcode, or what would be even better is a way to do it directly through the xcodebuild command.

Anyone have any tips?

like image 674
Killian Avatar asked Apr 15 '15 18:04

Killian


1 Answers

Look into your [Main Target] > Build Phases > Target Dependencies and [Main Target] > Build Phases > Embed App Extensions and remove the WatchKit information from both.

like image 87
dogsgod Avatar answered Oct 20 '22 07:10

dogsgod