xcode4: Linker error: Directory not found for option
Solution 1:
Go to "Get Info" on the target. Click the "Build Settings" tab (i'm using Xcode4), and scroll down to "Search Paths", Where You delete all the values in "Library Search Paths".
Hope that helps...
Solution 2:
There are two errors that people seem to have confused
If it is a "directory not found for option '-L/..." That means it's a Library Error, and you might want to try:
- Click on your project (targets)
- Click on Build Settings
- Under Library Search Paths, delete the paths
If it is a "directory not found for option '-F/..." That means it's a Framework Error, and you might want to try:
- Click on your project (targets)
- Click on Build Settings
- Under
Framework Search Paths
, delete the paths
This might happen when you move referenced files around or change the project folder name.