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

后端 未结 3 1414
挽巷
挽巷 2021-01-18 06:18

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 deploymen

3条回答
  •  生来不讨喜
    2021-01-18 06:41

    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.

提交回复
热议问题