Link error with Xcode 7 beta, address sanitization and CocoaPods + adMob

529 views Asked by At

I successfully converted an iOS project to Xcode 7 beta + Swift 2 (it runs and the tests work).

However, when I turn on the new Address Sanitizer (option+run -> run -> Diagnostics -> Enable Address Sanitizer, I get the following message from the linker:

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)

Seems to reference to CocoaPods which I use for the adMob pod. I updated CocoaPods itself to the latest version and I updated the adMob Pod to the latest version.

Any hints how to get Address Sanitizer to work together with CocoaPods or the AdMob CocoaPod whichever causes this?

0

There are 0 answers