tags:

views:

63

answers:

2

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
A search on the string SRCRoot in the source comes up empty.
William Jockusch
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: alt text

mipadi