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


    • Icon: Bug Bug
    • Resolution: Fixed
    • Icon: Major Major
    • clang-scanbuild-plugin
    • 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)

      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.

            jkennedy1980 Josh Kennedy
            colinsauze Colin Sauze
            0 Vote for this issue
            2 Start watching this issue