Open DimasSup opened 2 weeks ago
@DimasSup, The error you’re encountering in Unity relates to missing symbols for the arm64 architecture, specifically from Google AdMob and possibly Yandex libraries. Under Assets > External Dependency Manager > iOS Resolver > Settings and do the following:
target 'Unity-iPhone' do
end
Please let us know if the issue persists.
MAX Plugin Version
8.0.1
Unity Version
2022.3.36f1
Device/Platform Info
iOS
Current Behavior
When try build - got errors
Undefined symbols for architecture arm64: "_GADAdLoaderAdTypeNative", referenced from: ___82-[ALGoogleAdManagerMediationAdapter loadAdViewAdForParameters:adFormat:andNotify:]_block_invoke in libGoogleAdManagerAdapter.a[2](ALGoogleAdManagerMediationAdapter.o) ___73-[ALGoogleAdManagerMediationAdapter loadNativeAdForParameters:andNotify:]_block_invoke in libGoogleAdManagerAdapter.a[2](ALGoogleAdManagerMediationAdapter.o) ___73-[ALGoogleMediationAdapter loadAdViewAdForParameters:adFormat:andNotify:]_block_invoke in libGoogleAdapter.a[10](ALGoogleMediationAdapter.o) ___64-[ALGoogleMediationAdapter loadNativeAdForParameters:andNotify:]_block_invoke in libGoogleAdapter.a[10](ALGoogleMediationAdapter.o) "_GADAdSizeBanner", referenced from: -[ALGoogleAdManagerMediationAdapter adSizeFromAdFormat:isAdaptiveBanner:parameters:] in libGoogleAdManagerAdapter.a[2](ALGoogleAdManagerMediationAdapter.o) -[ALGoogleAdManagerMediationAdapter adSizeFromAdFormat:isAdaptiveBanner:parameters:] in libGoogleAdManagerAdapter.a[2](ALGoogleAdManagerMediationAdapter.o) -[ALGoogleMediationAdapter adSizeFromAdFormat:isAdaptiveBanner:parameters:] in libGoogleAdapter.a[10](ALGoogleMediationAdapter.o) -[ALGoogleMediationAdapter adSizeFromAdFormat:isAdaptiveBanner:parameters:] in libGoogleAdapter.a[10](ALGoogleMediationAdapter.o) "_GADAdSizeLeaderboard", referenced from: -[ALGoogleAdManagerMediationAdapter adSizeFromAdFormat:isAdaptiveBanner:parameters:] in libGoogleAdManagerAdapter.a[2](ALGoogleAdManagerMediationAdapter.o) -[ALGoogleMediationAdapter adSizeFromAdFormat:isAdaptiveBanner:parameters:] in libGoogleAdapter.a[10](ALGoogleMediationAdapter.o) "_GADAdSizeMediumRectangle", referenced from: -[ALGoogleAdManagerMediationAdapter adSizeFromAdFormat:isAdaptiveBanner:parameters:] in libGoogleAdManagerAdapter.a[2](ALGoogleAdManagerMediationAdapter.o) -[ALGoogleMediationAdapter adSizeFromAdFormat:isAdaptiveBanner:parameters:] in libGoogleAdapter.a[10](ALGoogleMediationAdapter.o) "_GADCurrentOrientationAnchoredAdaptiveBannerAdSizeWithWidth", referenced from: ___66-[ALGoogleAdManagerMediationAdapter adaptiveAdSizeFromParameters:]_block_invoke.118 in libGoogleAdManagerAdapter.a[2](ALGoogleAdManagerMediationAdapter.o) +[ALGoogleAdManagerMediationAdapter currentOrientationAchoredAdaptiveBannerSizeWithWidth:] in libGoogleAdManagerAdapter.a[2](ALGoogleAdManagerMediationAdapter.o) ___57-[ALGoogleMediationAdapter adaptiveAdSizeFromParameters:]_block_invoke.143 in libGoogleAdapter.a[10](ALGoogleMediationAdapter.o) +[ALGoogleMediationAdapter currentOrientationAchoredAdaptiveBannerSizeWithWidth:] in libGoogleAdapter.a[10](ALGoogleMediationAdapter.o) "_GADCurrentOrientationInlineAdaptiveBannerAdSizeWithWidth", referenced from: ___66-[ALGoogleAdManagerMediationAdapter adaptiveAdSizeFromParameters:]_block_invoke.117 in libGoogleAdManagerAdapter.a[2](ALGoogleAdManagerMediationAdapter.o) ___57-[ALGoogleMediationAdapter adaptiveAdSizeFromParameters:]_block_invoke.142 in libGoogleAdapter.a[10](ALGoogleMediationAdapter.o) "_GADGetStringFromVersionNumber", referenced from: -[ALGoogleAdManagerMediationAdapter SDKVersion] in libGoogleAdManagerAdapter.a[2](ALGoogleAdManagerMediationAdapter.o) -[ALGoogleMediationAdapter SDKVersion] in libGoogleAdapter.a[10](ALGoogleMediationAdapter.o) "_GADInlineAdaptiveBannerAdSizeWithWidthAndMaxHeight", referenced from: ___66-[ALGoogleAdManagerMediationAdapter adaptiveAdSizeFromParameters:]_block_invoke in libGoogleAdManagerAdapter.a[2](ALGoogleAdManagerMediationAdapter.o) ___57-[ALGoogleMediationAdapter adaptiveAdSizeFromParameters:]_block_invoke in libGoogleAdapter.a[10](ALGoogleMediationAdapter.o) "_OBJC_CLASS_$_GADAdLoader", referenced from: in libGoogleAdManagerAdapter.a[2](ALGoogleAdManagerMediationAdapter.o) "_OBJC_CLASS_$_GADAppOpenAd", referenced from: in libGoogleAdManagerAdapter.a[2](ALGoogleAdManagerMediationAdapter.o) "_OBJC_CLASS_$_GADBannerView", referenced from: in libGoogleAdapter.a[10](ALGoogleMediationAdapter.o) "_OBJC_CLASS_$_GADExtras", referenced from: in libGoogleAdManagerAdapter.a[2](ALGoogleAdManagerMediationAdapter.o) "_OBJC_CLASS_$_GADInterstitialAd", referenced from: in libGoogleAdapter.a[10](ALGoogleMediationAdapter.o) "_OBJC_CLASS_$_GADMediaView", referenced from: in libGoogleAdManagerAdapter.a[2](ALGoogleAdManagerMediationAdapter.o) "_OBJC_CLASS_$_GADMobileAds", referenced from: in libGoogleAdManagerAdapter.a[2](ALGoogleAdManagerMediationAdapter.o) "_OBJC_CLASS_$_GADNativeAdImageAdLoaderOptions", referenced from: in libGoogleAdManagerAdapter.a[2](ALGoogleAdManagerMediationAdapter.o) "_OBJC_CLASS_$_GADNativeAdView", referenced from: in libGoogleAdManagerAdapter.a[2](ALGoogleAdManagerMediationAdapter.o) "_OBJC_CLASS_$_GADNativeAdViewAdOptions", referenced from: in libGoogleAdManagerAdapter.a[2](ALGoogleAdManagerMediationAdapter.o) "_OBJC_CLASS_$_GADQueryInfo", referenced from: in libGoogleAdapter.a[10](ALGoogleMediationAdapter.o) "_OBJC_CLASS_$_GADRequest", referenced from: in libGoogleAdapter.a[10](ALGoogleMediationAdapter.o) "_OBJC_CLASS_$_GADRewardedAd", referenced from: in libGoogleAdManagerAdapter.a[2](ALGoogleAdManagerMediationAdapter.o) "_OBJC_CLASS_$_GADRewardedInterstitialAd", referenced from: in libGoogleAdManagerAdapter.a[2](ALGoogleAdManagerMediationAdapter.o) "_OBJC_CLASS_$_GAMBannerView", referenced from: in libGoogleAdManagerAdapter.a[2](ALGoogleAdManagerMediationAdapter.o) "_OBJC_CLASS_$_GAMInterstitialAd", referenced from: in libGoogleAdManagerAdapter.a[2](ALGoogleAdManagerMediationAdapter.o) "_OBJC_CLASS_$_GAMRequest", referenced from: in libGoogleAdManagerAdapter.a[2](ALGoogleAdManagerMediationAdapter.o) "_OBJC_CLASS_$_YMAAdView", referenced from: in libYandexAdapter.a[2](ALYandexMediationAdapter.o) "_OBJC_CLASS_$_YMABannerAdSize", referenced from: in libYandexAdapter.a[2](ALYandexMediationAdapter.o) "_OBJC_CLASS_$_YMABidderTokenLoader", referenced from: in libYandexAdapter.a[2](ALYandexMediationAdapter.o) "_OBJC_CLASS_$_YMABidderTokenRequestConfiguration", referenced from: in libYandexAdapter.a[2](ALYandexMediationAdapter.o) "_OBJC_CLASS_$_YMAInterstitialAdLoader", referenced from: in libYandexAdapter.a[2](ALYandexMediationAdapter.o) "_OBJC_CLASS_$_YMAMobileAds", referenced from: in libYandexAdapter.a[2](ALYandexMediationAdapter.o) "_OBJC_CLASS_$_YMAMutableAdRequest", referenced from: in libYandexAdapter.a[2](ALYandexMediationAdapter.o) "_OBJC_CLASS_$_YMAMutableAdRequestConfiguration", referenced from: in libYandexAdapter.a[2](ALYandexMediationAdapter.o) "_OBJC_CLASS_$_YMAMutableNativeAdRequestConfiguration", referenced from: in libYandexAdapter.a[2](ALYandexMediationAdapter.o) "_OBJC_CLASS_$_YMANativeAdLoader", referenced from: in libYandexAdapter.a[2](ALYandexMediationAdapter.o) "_OBJC_CLASS_$_YMANativeAdViewData", referenced from: in libYandexAdapter.a[2](ALYandexMediationAdapter.o) "_OBJC_CLASS_$_YMANativeMediaView", referenced from: in libYandexAdapter.a[2](ALYandexMediationAdapter.o) "_OBJC_CLASS_$_YMARewardedAdLoader", referenced from: in libYandexAdapter.a[2](ALYandexMediationAdapter.o)
Podfile looks like this `source 'https://cdn.cocoapods.org/'
platform :ios, '13.0'
use_frameworks! target 'UnityFramework' do pod 'Adjust', '5.0.1' pod 'AdjustSignature' pod 'AppLovinMediationBidMachineAdapter', '3.0.1.0.0' pod 'AppLovinMediationFacebookAdapter', '6.15.2.1' pod 'AppLovinMediationFyberAdapter', '8.3.2.1' pod 'AppLovinMediationGoogleAdapter', '11.11.0.0' pod 'AppLovinMediationGoogleAdManagerAdapter', '11.11.0.0' pod 'AppLovinMediationInMobiAdapter', '10.7.8.0' pod 'AppLovinMediationIronSourceAdapter', '8.4.0.0.0' pod 'AppLovinMediationMintegralAdapter', '7.7.3.0.0' pod 'AppLovinMediationMyTargetAdapter', '5.21.9.0' pod 'AppLovinMediationUnityAdsAdapter', '4.12.4.0' pod 'AppLovinMediationVungleAdapter', '7.4.2.1' pod 'AppLovinMediationYandexAdapter', '7.5.0.3' pod 'AppLovinSDK', '13.0.1' pod 'FBSDKCoreKit' pod 'FBSDKCoreKit_Basics' pod 'FBSDKGamingServicesKit' pod 'FBSDKLoginKit' pod 'FBSDKShareKit' pod 'Firebase/Analytics' pod 'Firebase/Core' pod 'Firebase/Crashlytics' end target 'Unity-iPhone' do end
`
Expected Behavior
No response
How to Reproduce
don't test
Reproducible in the demo app?
No
Additional Info
i tried use
use_frameworks! :linkage => :static
same resultPodfile.lock.txt