Xcode设置兼容设备 [英] Xcode Set Compatible Devices

查看:535
本文介绍了Xcode设置兼容设备的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我几天前在iOS App Store上发布了我的第一个应用程序,并告诉我的朋友们下载它。但是,他们告诉我它与运行iOS 4.2.1的iPod Touch 2G不兼容。为什么是这样?我该如何解决这个问题?

I have released my first app on the iOS App Store a few days ago and told my friends to download it. However, they have told me that it is not compatible with the iPod Touch 2G running iOS 4.2.1. Why is this? And how do I fix this?

我在iOS SDK 5.0中使用Xcode 4.2,但我的部署目标是iOS 4.0,所以它应该可以工作。

I am using Xcode 4.2 with iOS SDK 5.0, but my deployment target is iOS 4.0, so it should work.

在我的应用程序的iTunes页面上,它说:要求:兼容iPhone 3GS,iPhone 4,iPhone 4S,iPod touch(第3代),iPod touch(第4代)和iPad。需要iOS 4.0或更高版本。

On the iTunes page for my app, it says: Requirements: Compatible with iPhone 3GS, iPhone 4, iPhone 4S, iPod touch (3rd generation), iPod touch (4th generation) and iPad. Requires iOS 4.0 or later.

如何在此列表中包含iPod Touch 2G?我有一个iPod 3G作为我的测试设备之一,我的应用程序完美无缺。

How do I include the iPod Touch 2G in this list? I have an iPod 3G as one of my testing devices and my app works perfectly on it.

提前感谢您的帮助,

Guvvy

推荐答案

最可能的原因是你没有为构建armv6 。这是通常在调试中遇到的常见问题,但由于您没有在这些设备上进行测试,因此无法捕获它。

The most likely cause is that you did not build for armv6. This is a common issue usually caught in debugging, but since you did not test on these devices you did not catch it.

如果要添加对armv6设备的支持,喜欢 iPod touch 2nd gen & iPhone 3g ,然后除了设置部署目标之外,您还必须:

If you want to add support for armv6 devices, like iPod touch 2nd gen & iPhone 3g, then in addition to setting your deployment target like you have done you must also:

1)添加 armv6 到Architectures字段:

1) Add armv6 to the Architectures field:

2)从要求中删除 armv7 info.plist:

2) Remove armv7 from the requirements in the info.plist:

3)测试以确保与这些设备的兼容性。 请不要忽略此步骤。

3) Test to ensure compatibility with these devices. Please do not ignore this step.

这篇关于Xcode设置兼容设备的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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