我可以阻止操作系统版本太旧的用户下载我的应用程序吗?
我目前在应用程序商店中有一个适用于运行 iOS 3.0 或更高版本的 iPhone 用户的应用程序。我的应用程序的下一个版本将使用 ARC,因此它仅适用于运行 iOS 4.0 或更高版本的用户。
根据 这个答案,用户将能够下载较新的版本,但当他们尝试运行它时它不会运行。
有什么方法可以阻止无法运行该应用程序的用户甚至从 AppStore 下载该应用程序吗?
I currently have an app in the app store that works for iPhone users running iOS version 3.0 or newer. My next version of the app is going to use ARC, so it will only work for users running iOS version 4.0 or newer.
According to this answer, the users will be able to download the newer version, but it just won't run when they try to run it.
Is there any way to prevent users who can't run the app from even downloading it from the AppStore?
如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。
绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论
评论(2)
我最近没有对此进行测试,但在 2011 年 2 月和 iOS 4.x 中,我的用户无法下载我的应用程序,因为设备没有运行所需的 iOS 版本。
当他们尝试将应用程序直接下载到他们的设备时,他们的设备上收到了一条由 App Store 应用程序提供的很好的解释消息。
如果情况并非如此,我会感到非常惊讶。
因此,在目标构建设置中设置部署目标,并让 App Store / iTunes 负责谁可以安装它。
这是针对新安装的,对于更新(而不是新安装)来说是不同的,但如果苹果不是为了更好的用户体验而处理这个问题,我会再次感到惊讶。
更新
我挖出了我的旧 iPhone 3,它在 4.2.1 版本上已经到了尽头,并将其与 iTunes 重新同步 - 需要 4.3 等的最新应用程序将被忽略,并且不会被不兼容的版本覆盖,正如我所期望的。
我还尝试通过设备本身从商店更新我自己的应用程序(我是开发人员),需要 4.3 及更高版本,并收到一个礼貌的弹出警报,说该应用程序需要 iOS 4.3 及更高版本,就像我一样预计。
该应用程序以前兼容< 4.3,并且在此过程中我提高了最低 iOS 版本要求,所以这绝对是可能的。
因此,您应该适当地设置更新的应用程序的“部署目标”版本,并且它只会在兼容的设备上更新。
I haven't tested this recently, but in February 2011, and iOS 4.x, I had users who couldn't download my app as there device wasn't running the required version of iOS.
They received a nice explanation message on their device, courtesy of the App Store app, when trying to download the app directly to their device.
I'd be very surprised if this wasn't still the case.
So, set the deployment target in your target build settings, and let the App Store / iTunes take care of who can install it.
That was for new installs, and it be different for updates (rather than new installs) but again I'd be surprised if this wasn't handled by Apple for the sake of a better user experience.
UPDATE
I dug out my old iPhone 3 which reached the end of the road at 4.2.1 and resynced it with iTunes - the latest apps that require 4.3 etc are ignored, and are not overwritten with incompatible versions, as I would expect.
I also tried to update my own app (I'm a developer), requiring 4.3 and above, from the store via the device itself, and got a polite pop-up alert saying the app requires iOS 4.3 and above, again just as I'd expect.
The app was previously compatible with < 4.3, and somewhere along the line I bumped up the minimum iOS version requirement, so it is definitely possible.
So, you should just set your updated app's 'deployment target' version appropriately, and it will only be updated on compatible devices.
不会。新的更高的最低部署目标将阻止用户在操作系统版本较低的设备上安装应用程序,但不会阻止他们在 Mac 或 PC 上使用 iTunes 下载应用程序,即使他们无法安装下载后更新。
No. A new higher minimum Deployment target will prevent a user from installing an app on a device with a lower OS version, but will not prevent them from downloading the app using iTunes on their Mac or PC, even though they can't install the update once downloaded.