Undefined symbols for architecture i386:
"_SecRandomCopyBytes", referenced from:
_sqlcipher_cc_random in libsqlcipher.a(sqlite3.o)
"_kSecRandomDefault", referenced from:
_sqlcipher_cc_random in libsqlcipher.a(sqlite3.o)
ld: symbol(s) not found for architecture i386
clang: error: linker command failed with exit code 1 (use -v to see invocation)
主项目Build Phases->Link Binary With Libraries增加Security.framework
本文介绍了解决在i386架构下使用SqlCipher时出现的未定义符号错误的方法。通过在主项目的构建阶段链接Security.framework,可以成功解决链接错误。
143

被折叠的 条评论
为什么被折叠?



