简体   繁体   English

如何配置哪些设备可以使用我的应用程序? (即所有设备,包括老一代)

[英]How can I configure which devices are able to use my app? (ie ALL devices, including older gen)

I have set minimum iOS version to 3.1.3, added a required device architecture of either armv6 or armv7 and it still will not allow iPod touches before third generation to install the app. 我已将iOS的最低版本设置为3.1.3,添加了必需的armv6或armv7的设备体系结构,并且在第三代安装该应用程序之前它仍然不允许iPod touch。 Am I missing a setting/plist entry somewhere that allows me to easily adjust which devices are supported? 我是否在某个地方缺少设置/列表列表条目,从而可以轻松调整支持哪些设备?

Just changing the iOS deployment target (to 3.1.3 in your case) doesn't necessarily mean that your app will be able to run on that version. 仅更改iOS部署目标(在您的情况下为3.1.3)并不一定意味着您的应用将能够在该版本上运行。 It also depends on what APIs you use. 这也取决于您使用的API。 As a concrete example, if you were to use NSArray 's enumerateObjectsUsingBlock: somewhere in your app, it would only run on iOS 4.0 and later as previous versions don't include that method. 举一个具体的例子,如果您要在应用程序中的某处使用NSArrayenumerateObjectsUsingBlock: NSArray则它将仅在iOS 4.0和更高版本上运行,因为以前的版本不包含该方法。

You should set the iOS deployment target to the oldest version that you've successfully tested . 您应该将iOS部署目标设置为已成功测试的最旧版本。 While you could just read the API diffs that Apple provides, you might miss something and that would be bad. 尽管您可以阅读Apple提供的API差异,但您可能会错过一些东西,那将是很糟糕的。

暂无
暂无

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

相关问题 如何了解我的iOS应用正在运行哪些设备/操作系统版本? - How can I learn which devices/OS versions my iOS app is being run on? 如何在较旧的iOS设备上使用ARKit? - How to use ARKit on older iOS devices? 获取安装了我的应用程序的所有设备的UDID的方法 - Way to get UDID of all devices in which my app is installed 使用旧设备的 iOS 用户能否查看和下载我的应用程序的先前版本? - Can iOS users with older devices see and download a previous version of my app? 我只希望我的应用程序支持iPhone 5和iPod touch的第5代,该如何设置它以便其他设备不允许下载? - I only want my app to support the iPhone 5 and iPod touch 5th gen how do I set it so it won't be allowed for download by other devices? 我可以在同一个应用程序中使用不同的版本,一个用于iPhone 4 Retina显示屏,另一个用于旧设备吗? - Can I have different releases of the same app, one for the iPhone 4 Retina display and one for older devices? 如何确保只有支持Region Monitoring的设备可以在商店中查看我的应用程序? - How do I ensure only Region Monitoring capable devices can see my app in the store? 如何禁止 iOS 和 Android 设备登录我的应用程序 - How can I banned an iOS & Android devices from login to my app 我应该如何将ios应用程序安装到公司的设备上? - How should I install my ios app to devices in the company? 我如何在Xcode 8.3上使用IOS10.3.1设备而不更新MacO或更新Xcode - How can i use IOS10.3.1 devices on my Xcode 8.3 without updating MacOs or Updating Xcode
 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM