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

查看:23
本文介绍了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 应用程序,选择构建设置.对于关键的iOS 部署目标",您应该找到iOS 8.3".出于某种原因,Xcode 6.3 Beta 4 希望在iOS 8.2"上为调试"和发布"提供这个.现在您的项目应该按预期构建.

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天全站免登陆