Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Library Not found error for iOS Device in Xcode

Tags:

xcode

iphone

I am trying to run my app on device but it is giving error for device working fine for iPhone simulator.

ld: warning: directory not found for option '-L/Users/Documents/TEST/../CorePlotDemo/CorePlotDemo'
ld: warning: directory not found for option '-L/Users/TEST/../CorePlotDemo/CorePlotDemo'
ld: library not found for -lsqlite3.0
clang: error: linker command failed with exit code 1 (use -v to see invocation)

How To solve this error, I also tried with Library Search Path but not working .

like image 415
DeviPhone26 Avatar asked Sep 15 '12 06:09

DeviPhone26


1 Answers

Add library libCorePlot-CocoaTouch.a

And set path in build Setting -> Search Path -> Library Search Path -> $(inherited) "$(SRCROOT)/Libs/CorePlot"

This is the path of libCorePlot-CocoaTouch.a.

like image 200
Rajneesh071 Avatar answered Nov 12 '22 07:11

Rajneesh071