如何使用watchOS 2 SDK构建应用程序 [英] How to build an application with the watchOS 2 SDK

查看:96
本文介绍了如何使用watchOS 2 SDK构建应用程序的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

在上次提交我们的申请时,我们收到了此警告:

In the last submission of our application, we have received this warning :

无效的WatchKit支持 - 从4月1日开始, 2018年,提交给Apple Watch App Store的所有应用必须使用watchOS 2 SDK或更高版本构建

Invalid WatchKit Support - Starting April 1, 2018, all apps submitted to the App Store for Apple Watch must be built with the watchOS 2 SDK or later

我的问题是知道如何构建使用watchOS 2 SDK的应用程序?

My question is to know how to to build the application with the watchOS 2 SDK?

我认为用XCODE 9构建就足够了。

I was thinking that is enough to build with XCODE 9.

谢谢。

推荐答案

检查部署目标。它可能只是通过使用更新版本的Xcode来更新。

Check your Deployment Target. It's likely it wasn't updated just by using a newer version of Xcode.

还可以尝试检查Watch Extension的Build Settings中的Base SDK,以确保它是最新的。

Also try checking Base SDK in Build Settings of your Watch Extension to make sure it is up to date.

这篇关于如何使用watchOS 2 SDK构建应用程序的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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