Uploaded image for project: 'Apache Cordova'
  1. Apache Cordova
  2. CB-6716

XCode 5.1 Valid Architectures ignored/misread by Cordova CLI 3.4.1?

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Closed
    • Minor
    • Resolution: Duplicate
    • None
    • None
    • cordova-cli
    • None

    Description

      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?

      Attachments

        Issue Links

          Activity

            People

              Unassigned Unassigned
              poshaughnessy Peter O'Shaughnessy
              Votes:
              0 Vote for this issue
              Watchers:
              4 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: