huggie
huggie

Reputation: 18247

How to make Xcode project folder location independent

There must be something wrong with the way I build my project.

I noticed that when I move my Xcode project folder from a directory inside my document folder to the desktop for example, it doesn't build when it previously does! In my case this time, somehow it can't find the Core Plot sub project.

It says: clang: error: no such file or directory: '/Users/t2wu/Library/Developer/Xcode/DerivedData/HRM-fxvjidgvnxghjogeevqdzlccbulu/Build/Products/Debug-iphonesimulator/libCorePlot-CocoaTouch.a'

Any pointer appreciated.

Upvotes: 0

Views: 53

Answers (1)

sage444
sage444

Reputation: 5684

For your current error clean should help

Use macro $(SOURCE_ROOT) for any third party library.

Upvotes: 1

Related Questions