XCode Project does not handle spaces in paths
|Reported by:||oarfish||Owned by:||mike.dld|
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