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

落爺英雄遲暮 提交于 2019-12-01 16:53:24

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.

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.

标签
易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!