-
Notifications
You must be signed in to change notification settings - Fork 170
Native linking failed, again! iOS, Xamarin.Forms, Admob... #397
Comments
Hi @blmiles! Thanks for reporting this and an apology for the inconveniences that this could cause. Are you using Firebase packages somehow inside of your app? |
@SotoiGhost thanks for responding. No, I'm not using any Firebase packages at all. |
@blmiles Please, use Firebase.Core somehow within your app, that should fix the linker errors, e.g: var t = Firebase.Core.Configuration.SharedInstance; Google Mobile Ads needs some dependencies that Firebase Core uses but if F.Core is not referenced somehow, the whole package is stripped by the linker. Let me know you results. |
@SotoiGhost thanks for quick response. I'll add that to the AppDelegate and see what happens. Thx |
I'm having the same issue.
|
can confirm this:
If I remove Xamarin.Google.iOS.MobileAds from my project or downgrade it to 7.19.0 everything works fine |
Are there any updates on this? |
What is your Supported Architectures set to? I was able to get release mode build by changing it from ARMv7 + ARMv7s + ARM64 to just ARM64 |
@StoatsOnAPlane Supported Architectures for me has always only been ARM64. |
@SotoiGhost has there been any update from the team on this issue? |
Isso foi necessário pois a biblioteca do AdMob precisa de algumas funcionalidades do Firebase.Core. No entanto, por não ser referenciado, o linker remove o AppMeasurement e faz a aplicação não compilar. Este workaround foi encontrado em xamarin/GoogleApisForiOSComponents#397 (comment).
This issue has been dragging on for way too long. Is anyone from the Xamarin team going to respond?? |
Same issue. Any updates? Temporary workaround select ARM64 arch only. |
For those interested, I have the latest VS 2019 version (16.5.4), the latest XCode version (11.4.1) with iOS versions too. Building a Xamarin.Forms project, targeting Android and iOS.
If I include the latest Xamarin.Google.iOS.MobileAds (7.57.0) along with required dependencies (Firebase), I get this "failed to resolve ObjCRuntime.TrampolineBlockBase" too, along with 47 other build/compile errors for iOS.
If I exclude those plugin libraries, my iOS app compiles and runs just fine.
No build errors for Android.
It would be great to know what versions of these relevant plugins to include so that all is compatible with the other AND with the latest mono framework!
Someone building Xamarin.Google.iOS.MobileAds & the related firebase plugins dropped the ball.
SOMEONE NEEDS TO REOPEN THIS - Native linking failed #158
The text was updated successfully, but these errors were encountered: