Uploaded image for project: 'Jenkins'
  1. Jenkins
  2. JENKINS-23008

"xcodebuild: error: option '-activetarget' is no longer supported" when using clang-scanbuild plugin on xcode 5.1.1

    XMLWordPrintable

    Details

    • Type: Bug
    • Status: Closed (View Workflow)
    • Priority: Major
    • Resolution: Fixed
    • Component/s: clang-scanbuild-plugin
    • Labels:
    • Environment:
      Mac OSX 10.8.5, Xcode version 5.1.1, clang checker version 276, Jenkins version 1.554.1 (running on a Linux host, executing jobs on the Mac as a slave node)
    • Similar Issues:

      Description

      I'm getting an error "xcodebuild: error: option '-activetarget' is no longer supported" in the console output when trying to use the clang-scanbuild plugin while building an iOS application. I'm assuming that the latest version of Xcode has deprecated this option and that the plugin needs to be updated to no longer use it. Manually running scan-build from the command line without this option appears to work fine. I have attached the full error log as shown in the Jenkins console.

        Attachments

          Activity

          Hide
          scm_issue_link SCM/JIRA link daemon added a comment -

          Code changed in jenkins
          User: Craig Rodrigues
          Path:
          src/main/java/jenkins/plugins/clangscanbuild/ClangScanBuildDescriptor.java
          src/main/java/jenkins/plugins/clangscanbuild/commands/ScanBuildCommand.java
          src/test/java/jenkins/plugins/clangscanbuild/commands/ScanBuildCommandTest.java
          http://jenkins-ci.org/commit/clang-scanbuild-plugin/b970f5280a9c1929e9cd9d3b4d2b76a7d6cbc0dc
          Log:
          Remove obsolete "-activetarget" flag

          It is not longer supported by XCode.

          [FIXED JENKINS-23008]

          Show
          scm_issue_link SCM/JIRA link daemon added a comment - Code changed in jenkins User: Craig Rodrigues Path: src/main/java/jenkins/plugins/clangscanbuild/ClangScanBuildDescriptor.java src/main/java/jenkins/plugins/clangscanbuild/commands/ScanBuildCommand.java src/test/java/jenkins/plugins/clangscanbuild/commands/ScanBuildCommandTest.java http://jenkins-ci.org/commit/clang-scanbuild-plugin/b970f5280a9c1929e9cd9d3b4d2b76a7d6cbc0dc Log: Remove obsolete "-activetarget" flag It is not longer supported by XCode. [FIXED JENKINS-23008]

            People

            • Assignee:
              jkennedy1980 Josh Kennedy
              Reporter:
              colinsauze Colin Sauze
            • Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved: