Error Upload AppStore Because Change in Xcode device Setting

I found some problem when I upload my app to AppStore because of change device Setting in Xcode

Before Check Image Below



After I change device setting because I want my app just use iPhone only.



I try to Update to AppStore and get a message like this below :





Because Error above I can't upload to AppStore, and I try to find a solution in StackOverflow
https://stackoverflow.com/questions/44512139/is-it-possible-to-change-the-universal-app-to-iphone-only-once-it-is-uploaded-to

First Try :

UIRequiredDeviceCapabilities would help you.
Put telephony value like this in info.plist (iPhone specific...)
Of course, you need to submit your app again.
UIRequiredDeviceCapabilities
UIRequiredDeviceCapabilities (Array or Dictionary - iOS) lets iTunes and the App Store know which device-related features an app requires in order to run. iTunes and the mobile App Store use this list to prevent customers from installing apps on a device that does not support the listed capabilities.
enter image description here
And Second Problem is 
CFBundleShortVersionString - Info.plist file must contain a higher version than that of the previously approved version

https://github.com/fastlane/fastlane/issues/4332

Example change this version


to this version




Second Try :

https://stackoverflow.com/questions/35055402/switch-universal-app-to-iphone-only-app

You are getting this error because of this rule:
Application update must continue to support all the devices previously supported.
How to get rid ?
  • Remove this App from app store
  • Create new bundle & use it to your new app version
  • Deploy App to the store
Important Note:
  • If you delete an app from the store, then you cannot use its name again for another app. Be careful when deleting an app from the store!
Hope it will help to you.



No comments: