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

CordovaLib xcode project gets assigned problematic Build Active Architecture Only settings.

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Closed
    • Major
    • Resolution: Fixed
    • 3.0.0, 3.1.0
    • 3.2.0
    • cordova-ios
    • None

    Description

      Somewhere along the way, the CordovaLib xcode project (not the application's project which includes CordovaLib) gets Build Settings -> Build Active Architecture Only set to "true" for Debug. This causes issues when debugging on a device, with a warning:

      ld: warning: ignoring file .... Build/Products/Debug-iphoneos/libCordova.a
      ...
      ld: symbol(s) not found for architecture armv7

      Followed by errors as CordovaLib cannot be included.

      Recommend that Build Active Architecture Only should be set to "false" for both Debug and Release, as such:
      http://www.scribeorigins.com/files/CordovaLib_build_settings.jpg

      Attachments

        Activity

          People

            shazron Shazron Abdullah
            dooms Dooms
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: