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

Drop armv7s from default iOS Cordova build to align with Xcode 6

    XMLWordPrintableJSON

    Details

    • Type: Bug
    • Status: Closed
    • Priority: Major
    • Resolution: Fixed
    • Affects Version/s: None
    • Fix Version/s: 4.0.0
    • Component/s: cordova-ios
    • Labels:
      None

      Description

      Apple seems to have removed arm7s from the default architectures ${ARCHS_STANDARD} in Xcode 6.
      http://www.cocoanetics.com/2014/10/xcode-6-drops-armv7s/

      I have found that some plugins that I use that depend on native libraries that now no longer include this architecture because of the change in Xcode 6.

      If you run 'cordova build' for an iOS device with one of these plugins it will fail because it can't find an armv7s architecture for the libraries.

      The problem seems to be on these 2 lines:
      https://github.com/apache/cordova-ios/blob/master/bin/templates/scripts/cordova/lib/build.js#L102

      https://github.com/apache/cordova-ios/blob/master/bin/templates/scripts/cordova/lib/build.js#L107

      The Cordova build script is requiring armv7s. Would it be possible to remove this architecture to align with what Xcode 6 uses?

        Attachments

          Activity

            People

            • Assignee:
              shazron Shazron Abdullah
              Reporter:
              mpridham Marcus Pridham
            • Votes:
              1 Vote for this issue
              Watchers:
              4 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved: