[
https://issues.apache.org/jira/browse/CB-11243?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=15665108#comment-15665108
]
ASF GitHub Bot commented on CB-11243:
-------------------------------------
Github user cjpearson commented on the issue:
https://github.com/apache/cordova-ios/pull/277
It seems like the xcconfig settings override the buildFlag flag. When I run
this command on a starter cordova-ios 4.3.0 project, the MinimumOSVersion in
the App's Info.plist is still iOS 8.0.
cordova compile ios --buildFlag="IPHONEOS_DEPLOYMENT_TARGET=9.0"
I get a similar result with the `TARGETED_DEVICE_FAMILY` setting.
I added the settings back into the pbxproj to handle the case where the
user doesn't use one of these config options. Otherwise the default would be a
minimum version of iOS 10 and iPhone only.
> 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
> 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.4#6332)
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]