Xcode -- what is $(SRCROOT)?

Viewed 105475

I am looking at an Xcode project that uses some libraries. The project was created on a different computer, so I need to update some paths. The library search paths all start with $(SRCROOT). What does that mean?

3 Answers

SRCROOT

$(SRCROOT)(aka $(SOURCE_ROOT)) is a path to your location where a.xcodeproj is.

It is simple to check, just put it in a field and Xcode gives you a tip

enter image description here

Related