gpt4 book ai didi

ios - 突然出现 undefined symbol (_sqlite3_mprintf)错误

转载 作者:行者123 更新时间:2023-11-29 00:34:55 24 4
gpt4 key购买 nike

突然我的项目中出现以下编译错误:

Undefined symbols for architecture arm64:
"_sqlite3_mprintf", referenced from:
_linphone_core_store_call_log in liblinphone.a(call_log.c.o)
_linphone_chat_message_store in liblinphone.a(message_storage.c.o)
_linphone_chat_message_store_state in liblinphone.a(message_storage.c.o)
ld: symbol(s) not found for architecture arm64
clang: error: linker command failed with exit code 1 (use -v to see invocation)

最佳答案

看起来您的 Xcode 项目缺少对 liblinphone 所需的 sqlite3 的引用:

  1. 打开您的 Xcode 项目文件
  2. 转到“常规”标签
  3. 查找“链接的框架和库”部分
  4. 按“+”键
  5. 搜索“sqlite”
  6. 点击“libsqlite3.dylib”并按“添加”

现在它应该构建并运行了。

关于ios - 突然出现 undefined symbol (_sqlite3_mprintf)错误,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/40852798/

24 4 0
Copyright 2021 - 2024 cfsdn All Rights Reserved 蜀ICP备2022000587号
广告合作:1813099741@qq.com 6ren.com