[
https://issues.apache.org/jira/browse/CB-11243?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=15892464#comment-15892464
]
ASF GitHub Bot commented on CB-11243:
-------------------------------------
Github user zetura commented on the issue:
https://github.com/apache/cordova-ios/pull/277
Still having the issue with Cordova 6.5.0 (and cordova-ios 4.3.1).
I have `target-device='handset'` defined, I removed completely the ios
platform and add it again, but I always get this code generated in my
info.plist :
```
<key>UISupportedInterfaceOrientations~ipad</key>
<array>
<string>UIInterfaceOrientationPortrait</string
<string>UIInterfaceOrientationPortraitUpsideDown</string>
</array>
```
My app is then refused by Apple :
```
Performance - 2.4.1
We noticed that your app did not run at iPhone resolution when reviewed
on iPad running iOS 10.2.1.
Please see attached screenshots for details.
Next Steps
Please revise your app to ensure it runs and displays properly at iPhone
resolution on iPad.
Resources
For information on iOS device screen sizes and resolutions, please see the
iOS Human Interface Guidelines as well as the Points versus Pixels in the View
Programming Guide for iOS.
```
Thanks
> Target-device=handset also includes ipad values in plist and binary while
> submitting build
> ------------------------------------------------------------------------------------------
>
> Key: CB-11243
> URL: https://issues.apache.org/jira/browse/CB-11243
> Project: Apache Cordova
> Issue Type: Bug
> Components: iOS
> Environment: I am using visual studio tools for apache cordova
> Reporter: Shahbaz Khan
> Assignee: Shazron Abdullah
> Fix For: [email protected]
>
> Original Estimate: 24h
> Remaining Estimate: 24h
>
> I am using cordova cli version 6.1.1
> Even while selecting target-device='handset', i got error message in itunes
> submission that my binary contains ipad files and please upload ipad
> screenshots.
> Another thing is, I also checked plist file which also have the ipad configs
> even after selecting handset.
--
This message was sent by Atlassian JIRA
(v6.3.15#6346)
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]