libsybdb.a(dblib.o)'不包含位码

时间:2019-12-05 09:39:57

标签: swift

当我尝试在xcode 11.2 beta 2的手机上运行项目时,出现以下错误:

"ld: '/.../Pods/SQLClient/SQLClient/SQLClient/SQLClient/libsybdb.a(dblib.o)' does not contain bitcode. rebuild it with bitcode enabled (Xcode setting ENABLE_BITCODE), obtain an updated library from the vendor, or disable bitcode for this target.
clang: error: linker command failed with exit code 1 (use -v to see invocation) "

我该如何解决导致问题的问题?

1 个答案:

答案 0 :(得分:0)

您需要禁用位码。 转到您的Pod SQLClient目标并在“构建设置”位代码中禁用,或在主项目目标中禁用位代码。