I am working with someone's library . . . they have set $(SRCRoot) to the location the library was in on their computer. On my computer, it is in a different location. This is screwing everything up. How do I change it?
+1
A:
You must define SRCRoot
, not $(...)
, because the $(x)
command returns the value stored in x
.
Alexsander Akers
2010-09-16 20:02:05
A search on the string SRCRoot in the source comes up empty.
William Jockusch
2010-09-16 20:14:19
A:
SRCROOT
, like any Xcode build variable, is set in the Build options in the Target settings. However, setting SRCROOT
is not supported through the interface options (because you shouldn't set it manually in the first place), so it'll fall under "User-Defined" settings if someone set it manually. You'll want to select it and then delete it. Here's a picture to demonstrate:
mipadi
2010-09-16 20:38:45