locked
Invalid Bundle Structure with Firebase Nuget Packages RRS feed

  • Question

  • User396114 posted

    I am trying to solve for this error from Apple:

    ERROR ITMS-90171: "Invalid Bundle Structure - The binary file 'XXXXX.app/FirebaseCrash' is not permitted. Your app can’t contain standalone executables or libraries, other than a valid CFBundleExecutable of supported bundles.

    I cannot seem to figure this one out. My app has nuget packages for Firebase -- Crashlytics, Analytics, etc and Google Tag Manager. Whenever I update these packages and Xamarin.Build.Download to the latest, the app package contents will include this "FirebaseCrash" exe. I don't understand why this exe gets included in the package contents from MSBuild on the latest version of these packages, whereas it doesn't if I stick to what is supported on version 0.4.11 of Xamarin.Build.Download.

    Thursday, August 6, 2020 8:11 PM

Answers

  • User369979 posted

    It is caused by the FirebaseCrash packages. However, Google has migrated to Crashlytics: https://github.com/xamarin/GoogleApisForiOSComponents/issues/56#issuecomment-345036192 I think you could remove this reference and use: https://www.nuget.org/packages/Xamarin.Firebase.iOS.Crashlytics/ to achieve analytics.

    • Marked as answer by Anonymous Thursday, June 3, 2021 12:00 AM
    Friday, August 7, 2020 2:12 AM

All replies

  • User369979 posted

    It is caused by the FirebaseCrash packages. However, Google has migrated to Crashlytics: https://github.com/xamarin/GoogleApisForiOSComponents/issues/56#issuecomment-345036192 I think you could remove this reference and use: https://www.nuget.org/packages/Xamarin.Firebase.iOS.Crashlytics/ to achieve analytics.

    • Marked as answer by Anonymous Thursday, June 3, 2021 12:00 AM
    Friday, August 7, 2020 2:12 AM
  • User396114 posted

    Thank you! Yes, it was the "Xamarin.Firebase.iOS.CrashReporting" package causing it, and I was able to safely remove it without consequence.

    Friday, August 7, 2020 5:41 PM
  • User391550 posted

    I am having exactly the same problem and do not know how to resolve it. I would like to know why these packages are being added to the bundle. I'm using version 7.27.03 of Xamarin.Firebase.iOS.AdMob and Xamarin.Google.iOS.MobileAds. Why are those other packages being added to the bundle? This is beyond frustrating. Screen Shot 2021-03-24 at 5.12.09 PM

    Wednesday, March 24, 2021 9:34 PM