Opened 13 months ago

Closed 13 months ago

Last modified 13 months ago

#6079 closed Bug (fixed)

XCode Project does not handle spaces in paths

Reported by: oarfish Owned by: mike.dld
Priority: Normal Milestone: 2.91
Component: Transmission Version: 2.84
Severity: Normal Keywords:
Cc:

Description

When I check out the source to my second hard drive (named Macintosh HD), I cannot compile with XCode. I get errors such as these

…
        export variant=normal
    /bin/sh -c /Users/Rasmus/Library/Developer/Xcode/DerivedData/Transmission-cnqpcruvepjokqeqcpoczdlkyrin/Build/Intermediates/Transmission.build/Debug/miniupnp.build/Script-A2305097100C0293003FDB0C.sh

Detected OS [Darwin] version [14.5.0]
cat: /Volumes/Macintosh: No such file or directory
cat: HD/Users/Rasmus/Downloads/Sources/Transmission/third-party/miniupnp/VERSION: No such file or directory
…

Apparently because somewhere, Variables are not properly quoted. I tried to find the offending substitutions in the target miniupnp, but quoting the $(SRCROOT) var did not help.

I am surprised that this problem exists given that Macintosh HD is (used to?) be the standard name for the primary drive.

Change History (3)

comment:1 Changed 13 months ago by mike.dld

  • Milestone changed from None Set to 2.91
  • Owner set to mike.dld
  • Status changed from new to assigned

comment:2 Changed 13 months ago by x190

---

Last edited 13 months ago by x190 (previous) (diff)

comment:3 Changed 13 months ago by mike.dld

  • Resolution set to fixed
  • Status changed from assigned to closed

Fixed in r14701, thanks.

Note: See TracTickets for help on using tickets.