Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

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

I just updated my project from 8.2. to 8.3 (using the latest xCode Version 6.3 6D570). Now i get this error

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

The project and all targets are set to Latest SDK 8.3

What did I miss?

like image 881
fabian Avatar asked Apr 12 '15 21:04

fabian


2 Answers

I resolved this by:

  1. Right-clicking my PROJECTNAME.xcodeproj file and choosing "Show Package Contents".
  2. Opening project.pbxproj in a text editor.
  3. Changing all instances of "IPHONEOS_DEPLOYMENT_TARGET = 8.3;" to "IPHONEOS_DEPLOYMENT_TARGET = 8.2;"

After this change my project compiled and ran fine.

like image 137
Justin Schier Avatar answered Oct 23 '22 02:10

Justin Schier


Build successful. I just changed the iOS Deployment Target of the Watch App Target to 8.2.

Why is that?

like image 1
fabian Avatar answered Oct 23 '22 01:10

fabian