WatchKit应用程序的部署目标必须等于iOS 8.2(8.3)? [英] WatchKit apps must have a deployment target equal to iOS 8.2 (was 8.3)?

查看:89
本文介绍了WatchKit应用程序的部署目标必须等于iOS 8.2(8.3)?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我刚刚下载了Xcode 6.3 beta 4,我的WatchKit应用程序现在无法构建并出现错误:

I just downloaded Xcode 6.3 beta 4, and my WatchKit app now fails to build with an error:

Embedded Binary Validation Utility Error
error: WatchKit apps must have a deployment target equal to iOS 8.2 (was 8.3)

iOS应用程序和项目的部署目标实际上是7.1并且总是有,但是我们一直在使用iOS 8.3 SDK来使用我们的WatchKit组件(使用Swift 1.2)而没有使用Xcode 6.3 beta 1,2和3这个错误只出现在Xcode 6.3 beta 4上。

The iOS app and the project actually have a deployment target of 7.1 and always have, but we've been working with the iOS 8.3 SDK for our WatchKit component (using Swift 1.2) without issue using Xcode 6.3 beta 1, 2 and 3. This error only arose with Xcode 6.3 beta 4.

其他人有这个错误,知道如何修复它吗?

Anyone else have this error, and know how to fix it?

推荐答案

选择项目设置并转到TARGETS。单击Watch Kit应用程序,选择Build Settings。对于关键的iOS部署目标,您应该找到iOS 8.3。出于某种原因,Xcode 6.3 Beta 4希望在iOS 8.2上使用Debug和Release。现在你的项目应按预期进行构建。

Select your project settings and go to "TARGETS". Click on your Watch Kit App, select Build Settings. For the key "iOS Deployment Target" you should find "iOS 8.3". For some reason Xcode 6.3 Beta 4 wants to have this on "iOS 8.2" for "Debug" and "Release". Now your project should build as expected.

对于XCODE 6.3版本,这仍然是正确的!

This is still true for XCODE 6.3 release!

这篇关于WatchKit应用程序的部署目标必须等于iOS 8.2(8.3)?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆