Objective-C:链接期间未找到符号
Obj-C 非常非常新......也就是说,我之前在代码中遇到了一些问题,这些问题似乎已经解决了(我猜!)。现在,当我进行构建时,我得到以下信息:
我没有使用普通 SQLite,而是使用 SQLCipher,( http://sqlcipher.net)
它谈论的是什么符号?我该如何解决它?
感谢您(提前)查看此内容...在解决此问题之前,我已经“死在水中”了!
Very, very new at Obj-C... that said, I had some problems with code earlier, which seem to be resolved (I guess!). Now, when I do a build, I get this:
I am not using vanilla SQLite, but rather SQLCipher, (http://sqlcipher.net)
What symbols is it talking about? and how do I fix it?
Thank you (in advance) for looking at this... I'm "dead in the water" until I can get this fixed!
如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。
绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论
评论(1)
您似乎尚未将 SQLite 库添加到您的项目中。选择“项目”->“添加到项目...”并选择库。
当 Xcode 说“未找到符号”时,它告诉您正在使用未在任何地方定义的名称。它向您显示的特定符号是 _sqlite3_open,它看起来像是 SQLite 库定义的那种东西。
It looks like you haven't added the SQLite library to your project. Choose Project->Add to Project... and select the library.
When Xcode says 'symbols not found,' it's telling you that you're using a name for something that's not defined anywhere. The specific symbol it shows you is _sqlite3_open, which looks like the sort of thing that would be defined by the SQLite library.