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?
I resolved this by:
- Right-clicking my PROJECTNAME.xcodeproj file and choosing "Show Package Contents".
- Opening project.pbxproj in a text editor.
- Changing all instances of "IPHONEOS_DEPLOYMENT_TARGET = 8.3;" to "IPHONEOS_DEPLOYMENT_TARGET = 8.2;"
After this change my project compiled and ran fine.
Build successful.
I just changed the iOS Deployment Target of the Watch App Target to 8.2.
Why is that?
Ok , just select watch app -> go to build settings ->search for watchOS Deployment Target-> select lower version there based on the one of the watch you're using.