googleads-mobile-unity: Google Admob iOS Sdk 6.0.0 "not found for architecture arm64" error
- Unity version: 2020.3.7f1
- Google Mobile Ads Unity plugin version: 6.0.0
- Platform: iOS
- Platform OS version: iOS 12
- Xcode Version 12.5
Xcode Error:
Undefined symbols for architecture arm64:
"_GADURequestInterstitial", referenced from:
_Externs_GADURequestInterstitial_m77D58C1021B0E1A9320F3326857B18C58380315E in GoogleMobileAds.iOS.o
(maybe you meant: _Externs_GADURequestInterstitial_m77D58C1021B0E1A9320F3326857B18C58380315E)
ld: symbol(s) not found for architecture arm64
Podfile:
source 'https://github.com/CocoaPods/Specs.git'
source 'https://github.com/CocoaPods/Specs'
platform :ios, '11.0'
target 'UnityFramework' do
pod 'Firebase/Analytics', '7.11.0'
pod 'Firebase/Core', '7.11.0'
pod 'Google-Mobile-Ads-SDK', '~> 8.2'
end
target 'Unity-iPhone' do
end
use_frameworks! :linkage => :static
I started facing this issue after installing firebase plugin in game and installing admob latest version
How can i solve this problem?
About this issue
- Original URL
- State: closed
- Created 3 years ago
- Reactions: 7
- Comments: 21 (1 by maintainers)
I was able to get around this by commenting out line 7897 in Classes\Native\GoogleMobileAds.iOS.cpp in XCode:
reinterpret_cast<PInvokeFunc>(GADURequestInterstitial)(___interstitial0, ___request1);
Note that this code looks auto-generated, so it may not appear consistently on line 7897.
Having the same issue here with both 6.0.2 and 6.1.0. Any news on this?