bytedance / Bytedance-UnionAD

MIT License
170 stars 54 forks source link

[BUG] 编译ld找不到符号BUCNAuxiliary #134

Closed skytoup closed 3 years ago

skytoup commented 3 years ago

Describe the bug | 问题描述

编译ld找不到符号

Undefined symbols for architecture arm64:
  "___cxa_current_primary_exception", referenced from:
      _hmdbu_current_cpp_exception in BUCNAuxiliary(hmdbu_cpp_exception.o)
ld: symbol(s) not found for architecture arm64
clang: error: linker command failed with exit code 1 (use -v to see invocation)

Environmental information | 环境信息

skytoup commented 3 years ago

image

@Eason-yangyang @bytedance-tech

MorningStarJ commented 3 years ago

同问

MrDomin commented 3 years ago

Ads-CN.podspec s.libraries = 'c++', 'resolv', 'z', 'sqlite3', 'bz2', 'xml2', 'iconv'缺少了'c++abi' 可自行在项目中添加libc++abi.tbd解决