BilalReffas
BilalReffas

Reputation: 8328

WatchKit XCODE 6.3 ISSUE

I have a problem with WatchKit in XCODE 6.3 i can't build my app. Xcode tell me

error: WatchKit apps must have a deployment target equal to iOS 8.2 (was 8.3).

Do someone knows something about this issue ?

Upvotes: 0

Views: 2208

Answers (3)

Rahul Mathur
Rahul Mathur

Reputation: 882

I suspect it to be a bug of Xcode 6.3, it generally appears if we add a target for watch app in a project which have previously deployment target less than 8.2 . To resolve the issue, you can change your deployment target for all the individual targets of your project (watch kit extension and iOS app) as 8.2, clean the project, restart the Xcode, hope your problem will be resolved.

Upvotes: 0

arundevma
arundevma

Reputation: 933

I also had the same issue. It was actually a bug in Xcode 6.3. For some reason Xcode wanted deployment target of WatchKit App (and Not our app target) to be exactly 8.2

Changing "iOS Deployment Target" field in build settings of Watchkit app target to 8.2 as mentioned here solved the issue.

Upvotes: 0

Ben Kane
Ben Kane

Reputation: 10030

Your iOS app can target versions less that 8.2, but the WatchKit app and WatchKit extension must target iOS 8.2 (or later I'm assuming). Please make sure you're satisfying those requirements.

See this Apple Developer Forums link for more info.

Upvotes: 2

Related Questions