简体   繁体   中英

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 ?

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.

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.

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.

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM