我成功将iOS项目转换为Xcode 7 beta + Swift 2(它运行并且测试工作)。
然而,当我打开新的Address Sanitizer(选项+运行 - >运行 - >诊断 - >启用地址清理程序时,我从链接器收到以下消息:
Undefined symbols for architecture x86_64:
"___asan_init_v5", referenced from:
_asan.module_ctor in libPods.a(Pods-dummy.o)
ld: symbol(s) not found for architecture x86_64
clang: error: linker command failed with exit code 1 (use -v to see invocation)
似乎引用了我用于adMob pod的CocoaPods。 我将CocoaPods本身更新为最新版本,并将adMob Pod更新为最新版本。
任何提示如何让Address Sanitizer与CocoaPods或AdMob CocoaPod一起工作哪个会导致这个?