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

Xcode 5.1 (5B130a) build errors

VotersWatch issueWatchersLinkUpdate Comment AuthorReplace String in CommentUpdate Comment VisibilityDelete Comments
    XMLWordPrintableJSON

Details

    • Bug
    • Status: Closed
    • Major
    • Resolution: Fixed
    • None
    • 3.5.0
    • cordova-ios
    • None

    Description

      cordova 3.4.0-0.1.3
      Xcode Version 5.1 (5B130a)
      IOS 7.1

      After updating command line tools, Xcode and my phone's IOS to 7.1, I can no longer build a project even when creating from scratch.

      I get about 12 errors, some related to plugins:

      ...
      ld: warning: ignoring file /Users/me/Library/Developer/Xcode/DerivedData/project/Build/Products/Debug-iphoneos/libCordova.a, missing required architecture arm64 in file /Users/me/Library/Developer/Xcode/DerivedData/project/Build/Products/Debug-iphoneos/libCordova.a (2 slices)
      Undefined symbols for architecture arm64:
        "_OBJC_CLASS_$_CDVPlugin", referenced from:
      ...
      

      Lot's of Apple Mach-O Linker errors.

      Also see: http://stackoverflow.com/questions/22334680/xcode-5-1-libcordova-a-architecture-problems

      Attachments

        1. conditional_architectures.png
          86 kB
          Shazron Abdullah
        2. 3.5.0_CordovaLib_BuildSettings.png
          135 kB
          Shazron Abdullah

        Issue Links

        Activity

          This comment will be Viewable by All Users Viewable by All Users
          Cancel

          People

            shazron Shazron Abdullah
            VundaVon Blair Vanderhoof
            Votes:
            2 Vote for this issue
            Watchers:
            5 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved:

              Slack

                Issue deployment