【发布时间】:2015-12-27 19:28:07
【问题描述】:
当我尝试在设备上测试我的应用时,出现以下错误。错误不会出现在模拟器中。我正在使用 xcode 7。有人可以帮忙吗?
架构 armv7 的未定义符号:“_PKCS5_PBKDF2_HMAC_SHA1”, 参考自: sqlcipher.a(sqlite3.o) "_HMAC_CTX_init" 中的_sqlcipher_cipher_ctx_key_derive,引用自: sqlcipher.a(sqlite3.o) "_HMAC_Init_ex" 中的 _sqlcipher_page_hmac,引用自: sqlcipher.a(sqlite3.o) "_HMAC_Final" 中的 _sqlcipher_page_hmac,引用自: sqlcipher.a(sqlite3.o) "_HMAC_CTX_cleanup" 中的_sqlcipher_page_hmac,引用自: sqlcipher.a(sqlite3.o) "_RAND_bytes" 中的 _sqlcipher_page_hmac,引用自: _sqlcipher_page_cipher in sqlcipher.a(sqlite3.o) sqlcipher.a(sqlite3.o) "_HMAC_Update" 中的_sqlcipher_codec_ctx_init,引用自: sqlcipher.a(sqlite3.o) "_EVP_CIPHER_CTX_set_padding" 中的_sqlcipher_page_hmac,引用自: _sqlcipher_page_cipher in sqlcipher.a(sqlite3.o) "_EVP_CipherInit",引用自: _sqlcipher_page_cipher in sqlcipher.a(sqlite3.o) "_EVP_CipherFinal",引用自: _sqlcipher_page_cipher in sqlcipher.a(sqlite3.o) "_EVP_get_cipherbyname",引用自: _sqlcipher_codec_ctx_set_cipher 在 sqlcipher.a(sqlite3.o) _sqlcipher_activate in sqlcipher.a(sqlite3.o) "_OPENSSL_add_all_algorithms_noconf",引用自: sqlcipher.a(sqlite3.o) "_EVP_MD_size" 中的_sqlcipher_activate,引用自: _sqlcipher_codec_ctx_set_cipher in sqlcipher.a(sqlite3.o) "_EVP_sha1",引用自: _sqlcipher_codec_ctx_set_cipher 在 sqlcipher.a(sqlite3.o) sqlcipher.a(sqlite3.o)“_EVP_CIPHER_key_length”中的_sqlcipher_page_hmac,引用自: _sqlcipher_codec_ctx_set_cipher in sqlcipher.a(sqlite3.o) "_EVP_CipherUpdate",引用自: _sqlcipher_page_cipher in sqlcipher.a(sqlite3.o) "_EVP_CIPHER_iv_length",引用自: _sqlcipher_codec_ctx_set_cipher in sqlcipher.a(sqlite3.o) "_EVP_CIPHER_CTX_cleanup",引用自: _sqlcipher_page_cipher in sqlcipher.a(sqlite3.o) "_EVP_CIPHER_block_size",引用自: _sqlcipher_codec_ctx_set_cipher in sqlcipher.a(sqlite3.o) ld:未找到架构 armv7 clang 的符号:错误:链接器 命令失败,退出代码为 1(使用 -v 查看调用)
【问题讨论】:
-
设备是否更新到iOS 9.0
-
是的,设备已更新到 iOS 9.0
标签: ios xcode linker linker-errors xcode7