将 iPod 支持添加到(以前)仅限 iPhone 的应用程序 [英] Adding iPod Support to (previously) iPhone Only App

查看:25
本文介绍了将 iPod 支持添加到(以前)仅限 iPhone 的应用程序的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

当我开始我当前的项目时,App Store 中已经有一个应用程序.此应用仅适用于 iPhone.

我的第一个任务是测试和构建一个也能在 iPod Touch 上运行的版本.

大约 3 周前,Apple 删除了 iTunes 连接上的选项以设置设备要求.并向所有开发者发送了一封电子邮件:

<块引用>

App Store 要求您提供有关您的元数据在提交之前申请.虽然大部分元数据是使用 iPhone Developer 指定程序门户,过程选择与设备相关的依赖项在 iTunes Connect 中不再是可用的.相反,如果您的应用依赖特定于某个功能的功能设备,例如 iPhone 上的指南针3GS,添加UIRequiredDeviceCapabilities 关键你的应用程序的 Info.plist 文件来表明特定的硬件功能必须的."

当我编译 iPod 兼容版本时,我将 info.plist 中的设备要求 (UIRequiredDeviceCapabilities) 设置为:

  1. 位置服务(gps 或 skyhook)
  2. wi-fi(任何设备)

但是,由于应用程序最初是上传的,并且iPhoneonly"在 iTunes 连接中设置,这似乎是默认设置.

问题是,因为苹果已经删除了这个功能,所以没有办法改变它!

有人遇到过这个问题吗?你是怎么解决的?我在 UIRequiredDeviceCapabilities 中的值可能不正确吗?

更新:如果通过 Xcode 作为开发版本安装,该应用程序将在 iPod Touch 上正常运行.问题出在 App Store 上,它仅被列为 iPhone,当 iPod Touch 用户在 App Store 中搜索时,没有返回任何结果.

解决方案

从多个来源和与 Apple 的电子邮件交流中发现的最终解决方案.

首先,如果您的应用最初提交到 App Store 并且您勾选了仅限 iPhone 的选项,这只会出现问题.

避免兼容性问题的步骤:

  1. 使用info.plist 文件中所需的UIRequiredDeviceCapabilities 编译您的新应用程序.请参阅设备支持文档.p>

  2. 在提交您的应用程序时,向 iTunesConnect@apple.com 发送电子邮件,列出:

    • 应用名称
    • Apple ID
    • 捆绑标识符
    • 捆绑版本
    • 所需能力

说明您在获得批准后,审阅者需要关闭最初在 iTunes Connect 中设置的默认设备要求.

如果您在应用获得批准之前发送电子邮件,则即使 iTunes Connect 覆盖设置正确,您也必须提交另一个二进制文件.

仔细规划您的升级,追踪并解决这个问题已经用了超过 2 周的时间.

When I started on my current project, there was already an App in the App Store. This App was iPhone only.

My first task was to test and build a version that also ran on an iPod Touch.

About 3 weeks ago Apple removed the option on iTunes connect to set the device requirements. And sent an email out to all developers:

"The App Store requires that you provide metadata about your application before submitting it. While most of this metadata is specified using the iPhone Developer Program Portal, the process for selecting device-related dependencies in iTunes Connect is no longer available. Instead, if your app relies on features that are specific to a device, such as the compass on iPhone 3GS, add the UIRequiredDeviceCapabilities key to your app's Info.plist file to indicate the specific hardware feature required."

When I compiled the iPod compatible version I set the device requirements (UIRequiredDeviceCapabilities) in the info.plist to:

  1. location-services (gps or skyhook)
  2. wi-fi (any device)

However, as the App was originally uploaded and the option for "iPhone only" set in iTunes connect this appears to be the default.

The kicker is, because Apple have removed this feature there is no way to change it!

Has anyone come up against this problem? And how did you solve it? Is it possible I have incorrect values in UIRequiredDeviceCapabilities?

UPDATE: The app will run fine on a iPod Touch if installed as a development version via Xcode. The problem is on the App Store it is listed as iPhone only and when iPod Touch users search in the App store no results are returned.

解决方案

Final solution discovered from multiple sources and email exchanges with Apple.

Firstly, this is only a problem if your App was originally submitted to the App Store and you ticked the iPhone only option.

Steps to avoid compatibility issues:

  1. Compile your new App with the required UIRequiredDeviceCapabilities in the info.plist file. See Device Support documentation.

  2. When submitting your App send an email to iTunesConnect@apple.com listing the:

    • Application Name
    • Apple ID
    • Bundle Identifier
    • Bundle Version
    • Required Capabilities

Explain that your when approved the reviewer needs to TURN OFF the default device requirements originally set in iTunes Connect.

If you don't send an email before your App is approved you will have to submit another binary even if the iTunes Connect override is set correctly.

Plan your upgrade carefully, it has taken well over 2 weeks to track down and resolve this problem.

这篇关于将 iPod 支持添加到(以前)仅限 iPhone 的应用程序的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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