简体   繁体   English

iPhone OS版本AppStore部署

[英]iPhone OS Version AppStore Deployment

My question is related to the iphone appstore deployment handles deployment for when different versions of the iphone request the application. 我的问题与iphone appstore部署在不同版本的iphone请求应用程序时处理部署有关。 Also, does one have to submit a build for each version ie 2.0,2.1 and 2.2. 另外,是否必须为每个版本(即2.0、2.1和2.2)提交一个版本。 I've developed for Windows mobile and redirected users to a certain url based on the windows mobile platform they were using. 我已为Windows Mobile开发,并根据用户使用的Windows Mobile平台将用户重定向到某个URL。 There they would simply download and run a cab file. 在那里,他们只需下载并运行cab文件即可。

Just trying to get my head around how the App Store deployment process works. 只是试图让我了解App Store部署过程的工作方式。

The way it works is that you submit your app built with version X of the SDK. 它的工作方式是提交使用SDK X版本构建的应用程序。 Users will then only be able to download (iPhone) or sync (iTunes) the application if the are running >= X on their phone. 然后,如果用户的手机运行> = X,则用户将只能下载(iPhone)或同步(iTunes)应用程序。

A few things to bear in mind; 需要牢记的几件事;

  1. There are been many instances of firmware upgrades having changes that have broken applications. 固件升级有很多实例,其中的更改已破坏了应用程序。 For this reason it's better to use and test with recent version of the SDK. 因此,最好使用最新版本的SDK并进行测试。
  2. At somepoint it's likely that Apple will "blacklist" old SDKs and require that applications use a minimum of a certain version. 在某个时候,Apple可能会将旧的SDK“列入黑名单”,并要求应用程序至少使用某个版本。

You can use the latest SDK (eg 2.2.1) to target phones of any earlier OS, as long as you don't use an API that is only available on a later OS. 您可以使用最新的SDK(例如2.2.1)来定位任何较早版本操作系统的手机,只要您不使用仅在较新版本操作系统中可用的API。

target OS   app generally works on
---------   ----------------------
2.0         2.2.1, 2.2, 2.1, 2.0
2.1         2.2.1, 2.2, 2.1
2.2         2.2.1, 2.2
2.2.1       2.2.1

HOWEVER, if you use an API that doesn't exist on an earlier phone OS, then it won't work. 但是,如果您使用的API在早期的手机操作系统中不存在,那么它将无法正常工作。 For example the APIs on this page won't work on OS 2.1 (You need to login to see the contents of that page.): http://developer.apple.com/iphone/library/releasenotes/Miscellaneous/iPhone22APIDiffs/iPhone21_iPhone22_APIDiffs.html 例如,此页面上的API在OS 2.1上不起作用(您需要登录才能查看该页面的内容。): http : //developer.apple.com/iphone/library/releasenotes/Miscellaneous/iPhone22APIDiffs/iPhone21_iPhone22_APIDiffs .html

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

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