Reputation: 23
When I compile my iPhone application I get lots of errors, but the one that looks the most obvious to me is this link error:
ld: warning: directory '/Users/username/Documents/iPhone/MyAppName/../../core-plot/framework/build/Debug-iphonesimulator' following -L not found
I know the above path is wrong.
The correct path is:
/Users/username/Documents/iPhone/MyAppName/../core-plot/framework/build/Debug-iphonesimulator
I'd love to point to the right location, but I have no clue where this wrong path info is coming from. I have looked at every field in Project Settings and Target Settings but they're correct because they use "../" instead of "../../" Any suggestions on where I can correct this? Thanks.
Upvotes: 2
Views: 98
Reputation: 36143
This should take care of itself if you've correctly configured your project. Follow the core-plot project instructions on using CorePlot in an iPhone app, which are illustrated with screenshots here.
In short:
-ObjC
to the Other Linker Flags application build configuration setting.Upvotes: 1