poingstudios / godot-admob-ios

Godot's AdMob Plugin for iOS with support for Mediations.
https://poingstudios.github.io/godot-admob-plugin/
MIT License
104 stars 15 forks source link

[BUG] Project fails to export with error "symbol(s) not found for architecture arm64" #107

Closed enrikqose closed 1 month ago

enrikqose commented 1 month ago

Godot version

4.3 stable

Plugin version

v3.1.1

Phone information

N/A

Issue description

ld: warning: Could not find or use auto-linked framework 'AudioUnit': framework 'AudioUnit' not found ld: warning: Could not find or use auto-linked framework 'CoreAudioTypes': framework 'CoreAudioTypes' not found ld: warning: Could not find or use auto-linked framework 'UserMessagingPlatform': framework 'UserMessagingPlatform' not found Undefined symbols for architecture arm64: "_GADAdSizeFromCGSize", referenced from: +[GodotDictionaryToObject convertDictionaryToGADAdSize:] in poing-godot-admob-ads.a[arm64]18 "_GADCurrentOrientationAnchoredAdaptiveBannerAdSizeWithWidth", referenced from: PoingGodotAdMobAdSize::getCurrentOrientationAnchoredAdaptiveBannerAdSize(int) in poing-godot-admob-ads.a[arm64]3 "_GADErrorUserInfoKeyResponseInfo", referenced from: +[ObjectToGodotDictionary convertNSErrorToDictionaryAsLoadAdError:] in poing-godot-admob-ads.a[arm64]19 "_GADLandscapeAnchoredAdaptiveBannerAdSizeWithWidth", referenced from: PoingGodotAdMobAdSize::getLandscapeAnchoredAdaptiveBannerAdSize(int) in poing-godot-admob-ads.a[arm64]3 "_GADPortraitAnchoredAdaptiveBannerAdSizeWithWidth", referenced from: PoingGodotAdMobAdSize::getPortraitAnchoredAdaptiveBannerAdSize(int) in poing-godot-admob-ads.a[arm64]3 "_GADSimulatorID", referenced from: PoingGodotAdMob::initialize() in poing-godot-admob-ads.a[arm64]2 "_OBJCCLASS$_GADBannerView", referenced from: in poing-godot-admob-ads.a[arm64]12 "_OBJCCLASS$_GADExtras", referenced from: in poing-godot-admob-ads.a[arm64]18 "_OBJCCLASS$_GADInterstitialAd", referenced from: in poing-godot-admob-ads.a[arm64]13 "_OBJCCLASS$_GADMobileAds", referenced from: in poing-godot-admob-ads.a[arm64]2 "_OBJCCLASS$_GADRequest", referenced from: in poing-godot-admob-ads.a[arm64]18 "_OBJCCLASS$_GADRewardedAd", referenced from: in poing-godot-admob-ads.a[arm64]14 "_OBJCCLASS$_GADRewardedInterstitialAd", referenced from: in poing-godot-admob-ads.a[arm64]15 "_OBJCCLASS$_GADServerSideVerificationOptions", referenced from: in poing-godot-admob-ads.a[arm64]18 "_OBJCCLASS$_UMPConsentForm", referenced from: in poing-godot-admob-ads.a[arm64]10 "_OBJCCLASS$_UMPConsentInformation", referenced from: in poing-godot-admob-ads.a[arm64]5 "_OBJCCLASS$_UMPDebugSettings", referenced from: in poing-godot-admob-ads.a[arm64]18 "_OBJCCLASS$_UMPRequestParameters", referenced from: in poing-godot-admob-ads.a[arm64]18 "_kGADAdSizeSmartBannerLandscape", referenced from: PoingGodotAdMobAdSize::getSmartBannerAdSize() in poing-godot-admob-ads.a[arm64]3 +[GodotDictionaryToObject convertDictionaryToGADAdSize:] in poing-godot-admob-ads.a[arm64]18 "_kGADAdSizeSmartBannerPortrait", referenced from: PoingGodotAdMobAdSize::getSmartBannerAdSize() in poing-godot-admob-ads.a[arm64]3 +[GodotDictionaryToObject convertDictionaryToGADAdSize:] in poing-godot-admob-ads.a[arm64]18 ld: symbol(s) not found for architecture arm64 clang: error: linker command failed with exit code 1 (use -v to see invocation)

Steps to reproduce

N/A

Additional context

No response

enrikqose commented 1 month ago

Was installing this by going through readme but after also watching the video it seems this is the expected behaviour.

gumaciel commented 1 month ago

Hi, this plugin should work on ARM64, did you solve your issue?

enrikqose commented 1 month ago

@gumaciel hi, yes it's working. I didn't watch the video first where it was shown that an error during export was fine because godot doesn't support cocoapods. I was installing the plugin only by going through the steps on readme file and thought it was a fatal error and I couldn't go to the next step. I guess it would be good to add it on the readme than this specific error during export is fine.