When I add a framework in Xcode (5) it creates this beast of a path:
/Users/me/MyApp\ Subfolder1\ Subfolder2/MyApp\ Subfolder1\ Subfolder2/libraries/third-party-lib-2.0
How to I turn this direct path into a relative one so that it works wherever the project is opened?
You can use $(SRCROOT) if you want to refer paths relative to your source directory. Refer this from apple docs. There are bunch of these kind of variables. But in Build settings they will be shown as expanded, once you open it for editing it will resort it to the relative path variable.
Between if you are adding frameworks to your project, will be good if you consider using CocoaPods. Framework/package management will be a piece of cake with it. And the learning curve is also quite smooth.(I don't think if there is a learning curve at all)
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With