[英]library not found for -lsqlite3
Hello friends I'm new in iOS. 大家好,我是iOS新手。 I'm creating an app using sqlite.
我正在使用sqlite创建一个应用程序。 the app is running perfectly in simulator but not working in iPhone device.
该应用程序可以在模拟器中完美运行,但不能在iPhone设备上运行。 I search a lot but not getting the right solution.
我进行了大量搜索,但没有找到正确的解决方案。 I got a link but it also not worked for me.
我有一个链接,但对我也不起作用。
I downloaded some demo app of sqlite, but all apps showing same error. 我下载了一些sqlite演示应用程序,但是所有应用程序都显示相同的错误。 I'm not understanding what happened.
我不明白发生了什么。 PLZ help me I stuck with this issue.
PLZ帮我解决这个问题。
Open xCode click top project blue icon. 打开xCode,单击顶部项目蓝色图标。 Click Target-> build Phases -> Link Binary With Libraries -> add Other -> open Folder -> click Windows+Shift+G ->Enter /usr/lib then select library and add to your Project
单击目标->构建阶段->使用库链接二进制文件->添加其他->打开文件夹->单击Windows + Shift + G->输入/ usr / lib,然后选择库并添加到您的项目中
try it. 试试吧。
The problem is my Xcode. 问题是我的Xcode。 I deleted my sqlite library by mistake that's it is not showing my sqlite library path.
我错误地删除了我的sqlite库,因为它没有显示我的sqlite库路径。 I uninstalled and installed new Xcode, and my issue resolved.
我卸载并安装了新的Xcode,问题已解决。
声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.