iOS Question framework not found GoogleMobileAds

Sanxion

Active Member
Licensed User
Longtime User
Hi all

I am attempting to add iAdmob functionality to my app for the first time.

I have tried to follow the instructions mentioned in the various posts but I still receiving the error above.

I have:

1. Downloaded iAdMob v1.21 and copied the .xml to my Windows internal libraries folder, and .a / .h. files to my local iMac.

2. Downloaded libGoogleAdMobAds.a and copied to the Libs folder on my Mac. (This may have been incorrect but I am not entirely certain.

I assume I have missed something?

Thanks
 

Sanxion

Active Member
Licensed User
Longtime User
Thanks Erel.

That has solved this particular problrem, I now have this (not uncommon issue):

Undefined symbols for architecture arm64:
"_CBCentralManagerOptionShowPowerAlertKey", referenced from:
l936 in GoogleMobileAds(flat-arm64)
"_OBJC_CLASS_$_CBCentralManager", referenced from:
objc-class-ref in GoogleMobileAds(flat-arm64)
"_OBJC_CLASS_$_CBUUID", referenced from:
objc-class-ref in GoogleMobileAds(flat-arm64)
"_OBJC_CLASS_$_SFSafariViewController", referenced from:
objc-class-ref 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)

I have tried looking to see what other people have done but I have not managed to resolve it.
 
Upvote 0

Sanxion

Active Member
Licensed User
Longtime User
Which symbol is missing?
Undefined symbols for architecture arm64:
"_CBCentralManagerOptionShowPowerAlertKey", referenced from:
l936 in GoogleMobileAds(flat-arm64)
"_OBJC_CLASS_$_CBCentralManager", referenced from:
objc-class-ref in GoogleMobileAds(flat-arm64)
"_OBJC_CLASS_$_CBUUID", referenced from:
objc-class-ref in GoogleMobileAds(flat-arm64)
"_OBJC_CLASS_$_SFSafariViewController", referenced from:
objc-class-ref 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)
 
Upvote 0

Sanxion

Active Member
Licensed User
Longtime User
Based on this error message CoreBluetooth is still missing.

Make sure to copy the updated iAdMob.xml to the internal libraries folder.
Thank-you Erel, that worked. My mistake was copying the file to the Additional Libraries folder as opposed to the Internal Libraries folder.
 
Upvote 0

Similar Threads

Top