Ios SQLCipher编译错误
只需按照教程操作即可 但是,当我在调试模式下编译应用程序时,错误消息是Ios SQLCipher编译错误,ios,objective-c,sqlcipher,Ios,Objective C,Sqlcipher,只需按照教程操作即可 但是,当我在调试模式下编译应用程序时,错误消息是 Undefined symbols for architecture i386: _SecRandomCopyBytes", referenced from: _sqlcipher_cc_random in libsqlcipher.a(sqlite3.o) 有什么问题,请帮帮我,谢谢。谢谢Martin R libsqlcipher.一个基于“Security.Framework”编译的静态库 因此,要使用这个静态库,
Undefined symbols for architecture i386:
_SecRandomCopyBytes", referenced from:
_sqlcipher_cc_random in libsqlcipher.a(sqlite3.o)
有什么问题,请帮帮我,谢谢。谢谢
Martin R
libsqlcipher.一个基于“Security.Framework”编译的静态库
因此,要使用这个静态库,您的项目必须添加“Security.framework”链接库。您可能忘记了将Security.framework添加到您的项目中。您是对的!非常感谢。但是我有一个问题,子项目“sqlcipher.xcodeproj”已经涉及security.framework,我的应用程序正在使用libsqlcipher.a,为什么我需要将security.framework添加到框架中。