Reputation: 27335
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?
Upvotes: 135
Views: 116767
Reputation: 34341
Xcode SRCROOT
<select_project> -> <select_target> -> Build Settings -> All -> <find_SRCROOT> -> <double_click_by_right_side> -> <click_plus>
$(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
Upvotes: 18