Xcode plugin does not work when using workspaces

XMLWordPrintable

    • Type: Bug
    • Resolution: Fixed
    • Priority: Major
    • Component/s: xcode-plugin
    • None
    • Environment:
      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");

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

              Created:
              Updated:
              Resolved: