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

Xcode plugin does not work when using workspaces

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Fixed
    • Icon: Major Major
    • xcode-plugin
    • None
    • MacOSX

      Using the xcode plugin does not work when using workspaces.

      The issue seems to be that it tries to use the target "-alltargets" option even if the workspaceFile is defined.

      A sample patch that is working for me is attached. It basically removes the -alltargets argument if the workspace exists

      • } else if (StringUtils.isEmpty(target)) { + }

        else if (StringUtils.isEmpty(target) && StringUtils.isEmpty(xcodeWorkspaceFile)) {}}
        commandLine.add("-alltargets");
        xcodeReport.append("target: ALL");

            Unassigned Unassigned
            nito Nito Martinez
            Votes:
            1 Vote for this issue
            Watchers:
            4 Start watching this issue

              Created:
              Updated:
              Resolved: