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

    • Bug
    • Status: Closed
    • Major
    • Resolution: Fixed
    • None
    • 4.0.0
    • cordova-ios
    • 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

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

            Dates

              Created:
              Updated:
              Resolved: