WatchKit应用/扩展和iOS的向后兼容性 [英] WatchKit apps/extensions and iOS backwards compatibility

查看:149
本文介绍了WatchKit应用/扩展和iOS的向后兼容性的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我有它的部署目标设置到iOS 6.1版本的iOS应用,以及基础SDK到最新的iOS。我已经添加了两个Watchkit应用程序和 WatchKit 扩展目标的项目,但我需要了解这会不会影响将来的提交到App Store:

I have an iOS app with its Deployment Target set to iOS 6.1 version, and the Base SDK to latest iOS. I've added both the Watchkit app and WatchKit extension targets to the project, but I need to understand how will this affect a future submission to the App Store:

1)生成了两个可执行文件?一个用于iOS应用+ WatchKit延伸,另一个用于WatchKit应用程序?或在一个独特的可执行文件全部打包?

1) Are two executable files generated? One for the iOS app + WatchKit extension, and another for the WatchKit app? Or is all packaged in an unique executable file?

2),它会自动处理所安装应用程序的设备的IOS版本?我的意思是:将在用户下载和安装从应用商店更新,然后她将被要求只安装iOS应用,如果她的版本是8.1-和要求同时安装iOS应用和WatchKit应用程序,如果她拥有的iOS 8.2或以上版本和配对的Apple关注?有苹果提供的这些信息呢?

2) Will it be automatically handled the iOS version of the device that is installing the app? I mean: will the user download and install the update from the App Store, and then she will be requested to only install the iOS app if her version is 8.1- and requested to install both the iOS app and the WatchKit app if she has iOS 8.2+ and a paired Apple Watch? Has Apple provided such information?

推荐答案

苹果已经提供了很多关于WatchKit应用程序和扩展的信息。我建议你​​之前与您的项目正在进行第一次读到它们。例如,你可以找到有关WatchKit架构,以及如何WatchKit应用和扩展与在<一个iOS应用程序一起工作的信息href=\"https://developer.apple.com/library/$p$prelease/ios/documentation/General/Conceptual/WatchKitProgrammingGuide/DesigningaWatchKitApp.html#//apple_ref/doc/uid/TP40014969-CH3-SW1\"相对=nofollow>官方文档。

Apple has provided a lot of information about WatchKit apps and extensions. I propose you read them first before going on with your project. For instance, you can find information about the WatchKit architecture and how WatchKit apps and extensions work together with iOS apps in the official docs.

另外,请记住,这些事情可能在今年晚些时候彻底改变。

Also, keep in mind that these things might completely change later this year.

广告1)仅生成一个可执行,其中包括所有这些部分。用户会从App Store下载,通常你的应用程序和以前一样。

Ad 1) Only one executable is generated, which includes all these parts. The user will download your app normally from the App Store as before.

广告2)你的iOS应用程序将在iOS版最低运行在你的项目目标设定,你的情况6.1,即使WatchKit应用也包括在内。然而,WatchKit应用程序将只提供给用户在iOS 8.2及以上 - 当然他们需要的Apple关注

Ad 2) Your iOS app will run on the lowest iOS target set in your project, in your case 6.1, even though the WatchKit app is included. However, the WatchKit app will only be available to users on iOS 8.2 and above - and of course they need the Apple Watch.

这篇关于WatchKit应用/扩展和iOS的向后兼容性的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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