Uploaded image for project: 'Swift'
  1. Swift
  2. SR-6287

utils/build-script can't handle spaces in path to Xcode

    XMLWordPrintable

    Details

    • Type: Bug
    • Status: Closed
    • Priority: Medium
    • Resolution: Cannot Reproduce
    • Component/s: Project Infrastructure
    • Labels:
    • Environment:

      macOS 10.13

      Xcode 9.1 GM (9B55)

      Description

      I have spaces in my path to Xcode (/Applications/Xcode 9.1 GM.app).

       

      When I attempt to build Swift using utils/build-script, it silently dies with a cryptic message of:

       

      usage: dirname path
      ./utils/build-script: fatal error: command terminated with a non-zero exit status 1, aborting

       

      1. This is a bad error message and
      2. I should be able to have spaces in my path to Xcode

        Attachments

          Activity

            People

            Assignee:
            Unassigned Unassigned
            Reporter:
            davedelong Dave DeLong
            Votes:
            0 Vote for this issue
            Watchers:
            8 Start watching this issue

              Dates

              Created:
              Updated:
              Resolved: