[ 
https://issues.apache.org/jira/browse/CB-6716?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=14244505#comment-14244505
 ] 

Jon Tancer edited comment on CB-6716 at 12/12/14 5:51 PM:
----------------------------------------------------------

[~shazron]

I took a look through the CB issue link above and it seems like they did indeed 
add this feature for the windows platform, but they never specifically said if 
iOS supports this feature or not.  

I'm on the latest CLI.

When running:
cordova build ios -archs="armv7 arm64"
I get the error:
Running command: /Users/blah/cordova/platforms/ios/cordova/build "--archs=armv7 
arm64"
Unrecognized flag: --archs=armv7 arm64
Error: /Users/blah/cordova/platforms/ios/cordova/build: Command failed with 
exit code 2


was (Author: njtman):
[~shazron]

I took a look through the CB you linked above and it seems like they did indeed 
add this feature for the windows platform, but they never specifically said if 
iOS supports this feature or not.  

I'm on the latest CLI.

When running:
cordova build ios -archs="armv7 arm64"
I get the error:
Running command: /Users/blah/cordova/platforms/ios/cordova/build "--archs=armv7 
arm64"
Unrecognized flag: --archs=armv7 arm64
Error: /Users/blah/cordova/platforms/ios/cordova/build: Command failed with 
exit code 2

> XCode 5.1 Valid Architectures ignored/misread by Cordova CLI 3.4.1?
> -------------------------------------------------------------------
>
>                 Key: CB-6716
>                 URL: https://issues.apache.org/jira/browse/CB-6716
>             Project: Apache Cordova
>          Issue Type: Bug
>          Components: CLI
>            Reporter: Peter O'Shaughnessy
>            Priority: Minor
>
> cordova 3.4.1-0.1.0
> XCode 5.1 (5B130a)
> iOS 7.1
> I am new to Cordova (and this issue tracker) so apologies if this is just my 
> misunderstanding. But the CLI doesn't seem to be picking up the iOS 'Valid 
> Architectures' configuration?
> In XCode, I have specified Valid Architectures as only "armv7s armv7". 
> (Because I'm using a framework that doesn't work with arm64).
> But {{cordova build --device ios}} and {{cordova run --device ios}} report 
> VALID_ARCHS as "armv7 armv7s arm64". And then it fails with "{{symbol(s) not 
> found for architecture arm64}}".
> I can skirt around the issue by changing "Build Active Architecture Only" to 
> "Yes". Or by building and running through XCode. But it would be good to know 
> why there's this discrepancy with the command line?



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)

---------------------------------------------------------------------
To unsubscribe, e-mail: issues-unsubscr...@cordova.apache.org
For additional commands, e-mail: issues-h...@cordova.apache.org

Reply via email to