[
https://issues.apache.org/jira/browse/CB-11243?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=15658771#comment-15658771
]
ASF GitHub Bot commented on CB-11243:
-------------------------------------
Github user shazron commented on the issue:
https://github.com/apache/cordova-ios/pull/278
It's not a failure in node-xcode. Therefore, the tests are incorrect
somehow.
Tested using:
```
#!/usr/bin/env node
var xcode = require('xcode'),
fs = require('fs'),
projectPath =
'cordova-ios/tests/spec/unit/fixtures/ios-config-xml/SampleApp.xcodeproj/project.pbxproj',
projectPath2 =
'cordova-ios/tests/spec/unit/fixtures/ios-config-xml/SampleApp.xcodeproj/project-written.pbxproj',
myProj = xcode.project(projectPath);
// parsing is async, in a different process
myProj.parse(function (err) {
myProj.updateBuildProperty('IPHONEOS_DEPLOYMENT_TARGET', '8.0');
fs.writeFileSync(projectPath2, myProj.writeSync());
console.log('new project written');
});
```
> 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]