cordova-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Jon Tancer (JIRA)" <>
Subject [jira] [Commented] (CB-6716) XCode 5.1 Valid Architectures ignored/misread by Cordova CLI 3.4.1?
Date Fri, 12 Dec 2014 17:49:13 GMT


Jon Tancer commented on CB-6716:


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

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:
>             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

To unsubscribe, e-mail:
For additional commands, e-mail:

View raw message