iphone – 在Xcode中找不到iOS设备的库错误
发布时间:2020-12-14 17:59:53 所属栏目:百科 来源:网络整理
导读:我试图在设备上运行我的应用程序,但它给设备工作正常iPhone模拟器的错误. ld: warning: directory not found for option '-L/Users/Documents/TEST/../CorePlotDemo/CorePlotDemo'ld: warning: directory not found for option '-L/Users/TEST/../CorePlotDe
我试图在设备上运行我的应用程序,但它给设备工作正常iPhone模拟器的错误.
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) 如何解决这个错误,我也试过图书馆搜索路径,但没有工作. 解决方法
添加库libCorePlot-CocoaTouch.a
并在构建设置中设置路径 – >搜索路径 – >图书馆搜索路径 – > $(继承)“$(SRCROOT)/ Libs / CorePlot” 这是libCorePlot-CocoaTouch.a的路径. (编辑:李大同) 【声明】本站内容均来自网络,其相关言论仅代表作者个人观点,不代表本站立场。若无意侵犯到您的权利,请及时与联系站长删除相关内容! |