将通用应用程序切换到仅限 iPhone 的应用程序

问题描述:

我在应用商店上传了通用应用,

I have Universal app uploaded on app store,

后来根据要求我决定只用 iPhone 改造我的整个应用程序,所以我在 Xcode 中创建了新项目(具有相同的包 ID)

Later based on requirements I have decided to revamp my entire app with iPhone only, so I have created new project in Xcode(with same bundle id)

现在,当我尝试在商店上发布我的应用程序时,它向我显示了Target device family 的这个错误,这是错误的屏幕截图

Now when I try publish my app on the store it shows me this error of Target device family here is the screenshot of error

我只在我的新项目中将我的部署目标设置为 iPhone 仍然显示错误.

I have settled my deployment target to iPhone only in my new project still it shows me error.

我哪里出错了?

根据您问题中的错误消息,您无法删除对以前支持的设备类型的支持.

As per the error message in your question, you cannot remove support for a device type that was previously supported.

由于您之前的版本同时支持 iPhone 和 iPad,因此所有未来的版本都必须支持 iPhone 和 iPad.

Since your previous version supported both iPhone and iPad all future versions must support iPhone and iPad.

为了发布仅限 iPhone 的版本,您需要向商店发布一个新应用(使用不同的捆绑 ID),要么保留当前应用,要么将其删除.

In order to release an iPhone only version you will need to publish a new app to the store (using a different bundle id), either leaving the current one in place as it is or deleting it.