v7.8.0 SDK gives error: Undefined symbols for architecture arm64: "_OBJC_CLASS_$_CBUUID"

1,329 views
Skip to first unread message

Zhiping Deng

unread,
May 4, 2016, 6:45:07 AM5/4/16
to google-adm...@googlegroups.com

Hello, 

Today I upgrade google mobile ads sdk to latest v7.8.0, but the build failed with the following error:

Undefined symbols for architecture arm64:

  "_OBJC_CLASS_$_CBUUID", referenced from:

      objc-class-ref in GoogleMobileAds(flat-arm64)

  "_OBJC_CLASS_$_CBCentralManager", referenced from:

      objc-class-ref in GoogleMobileAds(flat-arm64)

  "_CBCentralManagerOptionShowPowerAlertKey", referenced from:

      l919 in GoogleMobileAds(flat-arm64)

ld: symbol(s) not found for architecture arm64

clang: error: linker command failed with exit code 1 (use -v to see invocation)


And v7.7.1 is ok.



Veer Arjun Busani(Mobile Ads SDK Team)

unread,
May 4, 2016, 2:36:32 PM5/4/16
to Google Mobile Ads SDK Developers
Hi Zhiping,

I would suggest you to use our sample app and try to replicate the issue. This could be due to you Build Settings not being properly set. If you are still unable to resolve this, then do send us your sample app and we would have a further look into it.

Thanks,
Veer Busani
Mobile Ads SDK Team

Zhiping Deng

unread,
May 6, 2016, 5:08:32 AM5/6/16
to google-adm...@googlegroups.com
It's funny.  your sample app's Podfile is outdated:  

  pod 'Google-Mobile-Ads-SDK', '~> 7.5'

I'm reporting issue of version 7.8.0. 

Somebody else encountered the same problem:

http://stackoverflow.com/questions/36976161/updating-google-admob-sdk-from-7-7-0-to-7-8-0-undefined-symbols-error

Please take a look at it.



--

---
You received this message because you are subscribed to the Google Groups "Google Mobile Ads SDK Developers" group.
To unsubscribe from this group and stop receiving emails from it, send an email to google-admob-ads...@googlegroups.com.
To post to this group, send email to google-adm...@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

Veer Arjun Busani(Mobile Ads SDK Team)

unread,
May 6, 2016, 10:22:44 AM5/6/16
to Google Mobile Ads SDK Developers
Hi Zhiping,

I have only referenced that sample app but I have updated to the latest v 7.8 of the SDK when I was testing. I have even tried to implement it manually and was still unable to reproduce the issue. Have you tried to create an empty project and only implement the Mobile Ads SDK? Do let us know if that fixes the issue.

Thanks,
Veer Busani
Mobile Ads SDK Team

To unsubscribe from this group and stop receiving emails from it, send an email to google-admob-ads-sdk+unsub...@googlegroups.com.
To post to this group, send email to google-admob-ads-sdk@googlegroups.com.

Jaap

unread,
May 7, 2016, 8:27:13 AM5/7/16
to Google Mobile Ads SDK Developers
Just add the CoreBluetooth and SafariServices to your frameworks (in Link Binary with Libraries). I have set SafariServices to Optional, since this is only supported from iOS9 upward. 
@Admob: this should be updated in the integration instructions.
To post to this group, send email to google-adm...@googlegroups.com.

Veer Arjun Busani(Mobile Ads SDK Team)

unread,
May 9, 2016, 10:53:05 AM5/9/16
to Google Mobile Ads SDK Developers
Hi guys,

The team is aware of this issue and is working on fixing/updating the documentation and specs. For now, adding the two frameworks - CoreBluetooth and SafariServices would fix the issue.

Thanks,
Veer Busani
Mobile Ads SDK Team

Reply all
Reply to author
Forward
0 new messages