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

Cordova requires arm64 architecture

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Closed
    • Major
    • Resolution: Fixed
    • 3.4.0
    • 3.5.0
    • cordova-ios, cordova-js
    • None
    • OSX

    Description

      In project settings, developers are now required to add arm64 under valid Architectures build settings. If we do not want to support arm64 or are unable to (because of other SDK dependency), our app will no longer work and get the following compile errors:

      undefined symbols for architecture armv7:
      "OBJC_CLASS$_CDVPlugin", referenced from:
      OBJC_CLASS$_OpenTokPlugin in OpenTokPlugin.o
      "OBJC_METACLASS$_CDVPlugin", referenced from:
      OBJC_METACLASS$_OpenTokPlugin in OpenTokPlugin.o
      ...

      To reproduce:
      1. Create new project (Cordova create YourApp)
      2. Add ios platform ( Cordova plaform add ios )
      3. Open xcode ( open YourApp/platform/ios/...xcodeproj )
      4. Change project build settings ( Valid Architectures to only armv7 - remove armv7s and arm64 )
      5. Change project build settings (Build Active Architecture Only - No )

      Result:
      undefined symbol errors during compile time.

      This was a breaking change from Cordova v 3.4.0-0.1.3

      Attachments

        Activity

          People

            shazron Shazron Abdullah
            songz Song Zheng
            Votes:
            0 Vote for this issue
            Watchers:
            4 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: