Adding iPod Support to (previously) iPhone Only App

此生再无相见时 提交于 2019-12-21 21:35:13

问题


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.


回答1:


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.




回答2:


Looking on the apple developer forums it sounds like the best way is to email devprogram@apple.com to sort it out. In only post that got resolved that is what the user did, and what I am going to do right now.



来源:https://stackoverflow.com/questions/2431825/adding-ipod-support-to-previously-iphone-only-app

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!