Skip to content

[Bug] Firebase crashes at objc_copyClassList on IOS 15.* #1268

Closed

Description

@rzer

Description

It seems like it's related to this bug: swiftlang/swift#61215

Image

We got this error when moving to Unity 6 from 2021.3.18f

Firebase Unity version: 11.6.0, 12.0.0 (Newer versions conflicts with other modules so i can't check them)
Only at IOS 15.., IOS 16 works correct

We haven't been able to find the plugin that causes the crash yet, so we rolled back to an older version of Unity.

I'm still not so sure if I'm posting the error in the right place. Correct me if I'm wrong.

Reproducing the issue

No response

Firebase Unity SDK Version

11.6.0, 12.0.0

Unity editor version

6000.0.45f1

Installation Method

Unity Package Manager

Problematic Firebase Component(s)

Messaging

Other Firebase Component(s) in use

No response

Additional SDKs you are using

No response

Targeted Platform(s)

Apple Platforms

Unity editor platform

Windows, Mac

Scripting Runtime

IL2CPP

Release Distribution Type

Open-source from this repo

Relevant Log Output

If using CocoaPods for Apple platforms, the project's Podfile.lock

Expand Podfile.lock snippet
PODS:
  - Ads-Global (7.1.1.1):
    - Ads-Global/BUAdSDK (= 7.1.1.1)
  - Ads-Global/BUAdSDK (7.1.1.1)
  - AppAuth (1.7.6):
    - AppAuth/Core (= 1.7.6)
    - AppAuth/ExternalUserAgent (= 1.7.6)
  - AppAuth/Core (1.7.6)
  - AppAuth/ExternalUserAgent (1.7.6):
    - AppAuth/Core
  - AppLovinMediationBidMachineAdapter (3.2.1.0.0):
    - AppLovinSDK (>= 13.0.0)
    - BidMachine (= 3.2.1)
  - AppLovinMediationBigoAdsAdapter (4.7.0.2):
    - AppLovinSDK (>= 12.4.1)
    - BigoADS (= 4.7.0)
  - AppLovinMediationByteDanceAdapter (7.1.1.1.0):
    - Ads-Global (= 7.1.1.1)
    - AppLovinSDK (>= 13.0.0)
  - AppLovinMediationChartboostAdapter (9.9.0.0):
    - AppLovinSDK (>= 13.0.0)
    - ChartboostSDK (= 9.9.0)
  - AppLovinMediationFacebookAdapter (6.17.1.0):
    - AppLovinSDK (>= 13.0.0)
    - FBAudienceNetwork (= 6.17.1)
  - AppLovinMediationFyberAdapter (8.3.6.0):
    - AppLovinSDK (>= 13.0.0)
    - Fyber_Marketplace_SDK (= 8.3.6)
  - AppLovinMediationGoogleAdapter (12.4.0.0):
    - AppLovinSDK (>= 13.0.0)
    - Google-Mobile-Ads-SDK (= 12.4.0)
  - AppLovinMediationGoogleAdManagerAdapter (12.4.0.0):
    - AppLovinSDK (>= 13.0.0)
    - Google-Mobile-Ads-SDK (= 12.4.0)
  - AppLovinMediationInMobiAdapter (10.8.3.1):
    - AppLovinSDK (>= 13.0.0)
    - InMobiSDK (= 10.8.3)
  - AppLovinMediationIronSourceAdapter (8.8.0.0.0):
    - AppLovinSDK (>= 13.0.0)
    - IronSourceSDK (= 8.8.0.0)
  - AppLovinMediationMadexAdapter (1.4.1):
    - AppLovinSDK
    - MadexSDK (~> 1.6.1)
  - AppLovinMediationMintegralAdapter (7.7.8.0.0):
    - AppLovinSDK (>= 13.0.0)
    - MintegralAdSDK (= 7.7.8)
    - MintegralAdSDK/BidSplashAd (= 7.7.8)
  - AppLovinMediationMolocoAdapter (3.9.1.1):
    - AppLovinSDK (>= 13.0.0)
    - MolocoSDKiOS (= 3.9.1)
  - AppLovinMediationMyTargetAdapter (5.31.0.0):
    - AppLovinSDK (>= 13.0.0)
    - myTargetSDK (= 5.31.0)
  - AppLovinMediationUnityAdsAdapter (4.14.2.0):
    - AppLovinSDK (>= 13.0.0)
    - UnityAds (= 4.14.2)
  - AppLovinMediationVungleAdapter (7.5.1.2):
    - AppLovinSDK (>= 13.0.0)
    - VungleAds (= 7.5.1)
  - AppLovinMediationYandexAdapter (7.12.3.0):
    - AppLovinSDK
    - YandexMobileAds (= 7.12.3)
  - AppLovinSDK (13.3.0)
  - AppMetricaCore (5.11.1):
    - AppMetricaCoreUtils (= 5.11.1)
    - AppMetricaEncodingUtils (= 5.11.1)
    - AppMetricaFMDB (= 5.11.1)
    - AppMetricaHostState (= 5.11.1)
    - AppMetricaIdentifiers (= 5.11.1)
    - AppMetricaKeychain (= 5.11.1)
    - AppMetricaLog (= 5.11.1)
    - AppMetricaNetwork (= 5.11.1)
    - AppMetricaPlatform (= 5.11.1)
    - AppMetricaProtobuf (= 5.11.1)
    - AppMetricaProtobufUtils (= 5.11.1)
    - AppMetricaStorageUtils (= 5.11.1)
  - AppMetricaCoreExtension (5.11.1):
    - AppMetricaCore (= 5.11.1)
    - AppMetricaStorageUtils (= 5.11.1)
  - AppMetricaCoreUtils (5.11.1):
    - AppMetricaLog (= 5.11.1)
  - AppMetricaCrashes (5.11.1):
    - AppMetricaCore (= 5.11.1)
    - AppMetricaCoreExtension (= 5.11.1)
    - AppMetricaCoreUtils (= 5.11.1)
    - AppMetricaEncodingUtils (= 5.11.1)
    - AppMetricaHostState (= 5.11.1)
    - AppMetricaLog (= 5.11.1)
    - AppMetricaPlatform (= 5.11.1)
    - AppMetricaProtobufUtils (= 5.11.1)
    - AppMetricaStorageUtils (= 5.11.1)
    - KSCrash/Recording (< 2.1.0, >= 2.0.0)
  - AppMetricaEncodingUtils (5.11.1):
    - AppMetricaCoreUtils (= 5.11.1)
    - AppMetricaLog (= 5.11.1)
    - AppMetricaPlatform (= 5.11.1)
  - AppMetricaFMDB (5.11.1)
  - AppMetricaHostState (5.11.1):
    - AppMetricaCoreUtils (= 5.11.1)
    - AppMetricaLog (= 5.11.1)
  - AppMetricaIdentifiers (5.11.1):
    - AppMetricaKeychain (= 5.11.1)
    - AppMetricaLogSwift (= 5.11.1)
    - AppMetricaPlatform (= 5.11.1)
    - AppMetricaStorageUtils (= 5.11.1)
    - AppMetricaSynchronization (= 5.11.1)
  - AppMetricaKeychain (5.11.1):
    - AppMetricaCoreUtils (= 5.11.1)
    - AppMetricaLog (= 5.11.1)
    - AppMetricaStorageUtils (= 5.11.1)
  - AppMetricaLibraryAdapter (5.11.1):
    - AppMetricaCore (= 5.11.1)
    - AppMetricaCoreExtension (= 5.11.1)
  - AppMetricaLog (5.11.1)
  - AppMetricaLogSwift (5.11.1):
    - AppMetricaLog (= 5.11.1)
  - AppMetricaNetwork (5.11.1):
    - AppMetricaCoreUtils (= 5.11.1)
    - AppMetricaLog (= 5.11.1)
    - AppMetricaPlatform (= 5.11.1)
  - AppMetricaPlatform (5.11.1):
    - AppMetricaCoreUtils (= 5.11.1)
    - AppMetricaLog (= 5.11.1)
  - AppMetricaProtobuf (5.11.1)
  - AppMetricaProtobufUtils (5.11.1):
    - AppMetricaProtobuf (= 5.11.1)
  - AppMetricaStorageUtils (5.11.1):
    - AppMetricaCoreUtils (= 5.11.1)
    - AppMetricaLog (= 5.11.1)
  - AppMetricaSynchronization (5.11.1):
    - AppMetricaLogSwift (= 5.11.1)
  - AppsFlyerFramework (6.15.2):
    - AppsFlyerFramework/Main (= 6.15.2)
  - AppsFlyerFramework/Main (6.15.2)
  - BideaseConnect/AppLovinMaxAdapter (1.1.7.1):
    - AppLovinSDK
    - BideaseConnect/BideaseRTB
    - BideaseConnect/Core
    - BideaseConnect/Test
  - BideaseConnect/BideaseBidRequester (1.1.7.1)
  - BideaseConnect/BideaseRTB (1.1.7.1):
    - BideaseConnect/BideaseBidRequester
    - BideaseConnect/BideaseRTBCore
    - BideaseConnect/Core
  - BideaseConnect/BideaseRTBCore (1.1.7.1)
  - BideaseConnect/Core (1.1.7.1)
  - BideaseConnect/Test (1.1.7.1):
    - BideaseConnect/Core
  - BidMachine (3.2.1):
    - BidMachine/Static (= 3.2.1)
  - BidMachine/Static (3.2.1):
    - StackModules/Static (~> 3.2.0)
  - bigo-ads-new-max-adapter (4.5.1.1):
    - AppLovinSDK
    - BigoADS
  - BigoADS (4.7.0)
  - ChartboostSDK (9.9.0)
  - DivKit (31.14.0):
    - DivKit_LayoutKit (= 31.14.0)
    - DivKit_Serialization (= 31.14.0)
    - VGSL (~> 7.1)
  - DivKit_LayoutKit (31.14.0):
    - DivKit_LayoutKitInterface (= 31.14.0)
    - VGSL (~> 7.1)
  - DivKit_LayoutKitInterface (31.14.0):
    - VGSL (~> 7.1)
  - DivKit_Serialization (31.14.0):
    - VGSL (~> 7.1)
  - DivKitBinaryCompatibilityFacade (4.6.1):
    - DivKit (~> 31.4)
  - FBAEMKit (16.0.1):
    - FBSDKCoreKit_Basics (= 16.0.1)
  - FBAudienceNetwork (6.17.1)
  - FBSDKCoreKit (16.0.1):
    - FBAEMKit (= 16.0.1)
    - FBSDKCoreKit_Basics (= 16.0.1)
  - FBSDKCoreKit_Basics (16.0.1)
  - FBSDKGamingServicesKit (16.0.1):
    - FBSDKCoreKit (= 16.0.1)
    - FBSDKCoreKit_Basics (= 16.0.1)
    - FBSDKShareKit (= 16.0.1)
  - FBSDKLoginKit (16.0.1):
    - FBSDKCoreKit (= 16.0.1)
  - FBSDKShareKit (16.0.1):
    - FBSDKCoreKit (= 16.0.1)
  - Firebase/Analytics (10.25.0):
    - Firebase/Core
  - Firebase/Auth (10.25.0):
    - Firebase/CoreOnly
    - FirebaseAuth (~> 10.25.0)
  - Firebase/Core (10.25.0):
    - Firebase/CoreOnly
    - FirebaseAnalytics (~> 10.25.0)
  - Firebase/CoreOnly (10.25.0):
    - FirebaseCore (= 10.25.0)
  - Firebase/Crashlytics (10.25.0):
    - Firebase/CoreOnly
    - FirebaseCrashlytics (~> 10.25.0)
  - Firebase/Messaging (10.25.0):
    - Firebase/CoreOnly
    - FirebaseMessaging (~> 10.25.0)
  - Firebase/RemoteConfig (10.25.0):
    - Firebase/CoreOnly
    - FirebaseRemoteConfig (~> 10.25.0)
  - Firebase/Storage (10.25.0):
    - Firebase/CoreOnly
    - FirebaseStorage (~> 10.25.0)
  - FirebaseABTesting (10.29.0):
    - FirebaseCore (~> 10.0)
  - FirebaseAnalytics (10.25.0):
    - FirebaseAnalytics/AdIdSupport (= 10.25.0)
    - FirebaseCore (~> 10.0)
    - FirebaseInstallations (~> 10.0)
    - GoogleUtilities/AppDelegateSwizzler (~> 7.11)
    - GoogleUtilities/MethodSwizzler (~> 7.11)
    - GoogleUtilities/Network (~> 7.11)
    - "GoogleUtilities/NSData+zlib (~> 7.11)"
    - nanopb (< 2.30911.0, >= 2.30908.0)
  - FirebaseAnalytics/AdIdSupport (10.25.0):
    - FirebaseCore (~> 10.0)
    - FirebaseInstallations (~> 10.0)
    - GoogleAppMeasurement (= 10.25.0)
    - GoogleUtilities/AppDelegateSwizzler (~> 7.11)
    - GoogleUtilities/MethodSwizzler (~> 7.11)
    - GoogleUtilities/Network (~> 7.11)
    - "GoogleUtilities/NSData+zlib (~> 7.11)"
    - nanopb (< 2.30911.0, >= 2.30908.0)
  - FirebaseAppCheckInterop (10.29.0)
  - FirebaseAuth (10.25.0):
    - FirebaseAppCheckInterop (~> 10.17)
    - FirebaseCore (~> 10.0)
    - GoogleUtilities/AppDelegateSwizzler (~> 7.8)
    - GoogleUtilities/Environment (~> 7.8)
    - GTMSessionFetcher/Core (< 4.0, >= 2.1)
    - RecaptchaInterop (~> 100.0)
  - FirebaseAuthInterop (10.29.0)
  - FirebaseCore (10.25.0):
    - FirebaseCoreInternal (~> 10.0)
    - GoogleUtilities/Environment (~> 7.12)
    - GoogleUtilities/Logger (~> 7.12)
  - FirebaseCoreExtension (10.29.0):
    - FirebaseCore (~> 10.0)
  - FirebaseCoreInternal (10.29.0):
    - "GoogleUtilities/NSData+zlib (~> 7.8)"
  - FirebaseCrashlytics (10.25.0):
    - FirebaseCore (~> 10.5)
    - FirebaseInstallations (~> 10.0)
    - FirebaseRemoteConfigInterop (~> 10.23)
    - FirebaseSessions (~> 10.5)
    - GoogleDataTransport (~> 9.2)
    - GoogleUtilities/Environment (~> 7.8)
    - nanopb (< 2.30911.0, >= 2.30908.0)
    - PromisesObjC (~> 2.1)
  - FirebaseInstallations (10.29.0):
    - FirebaseCore (~> 10.0)
    - GoogleUtilities/Environment (~> 7.8)
    - GoogleUtilities/UserDefaults (~> 7.8)
    - PromisesObjC (~> 2.1)
  - FirebaseMessaging (10.25.0):
    - FirebaseCore (~> 10.0)
    - FirebaseInstallations (~> 10.0)
    - GoogleDataTransport (~> 9.3)
    - GoogleUtilities/AppDelegateSwizzler (~> 7.8)
    - GoogleUtilities/Environment (~> 7.8)
    - GoogleUtilities/Reachability (~> 7.8)
    - GoogleUtilities/UserDefaults (~> 7.8)
    - nanopb (< 2.30911.0, >= 2.30908.0)
  - FirebaseRemoteConfig (10.25.0):
    - FirebaseABTesting (~> 10.0)
    - FirebaseCore (~> 10.0)
    - FirebaseInstallations (~> 10.0)
    - FirebaseRemoteConfigInterop (~> 10.23)
    - FirebaseSharedSwift (~> 10.0)
    - GoogleUtilities/Environment (~> 7.8)
    - "GoogleUtilities/NSData+zlib (~> 7.8)"
  - FirebaseRemoteConfigInterop (10.29.0)
  - FirebaseSessions (10.29.0):
    - FirebaseCore (~> 10.5)
    - FirebaseCoreExtension (~> 10.0)
    - FirebaseInstallations (~> 10.0)
    - GoogleDataTransport (~> 9.2)
    - GoogleUtilities/Environment (~> 7.13)
    - GoogleUtilities/UserDefaults (~> 7.13)
    - nanopb (< 2.30911.0, >= 2.30908.0)
    - PromisesSwift (~> 2.1)
  - FirebaseSharedSwift (10.29.0)
  - FirebaseStorage (10.25.0):
    - FirebaseAppCheckInterop (~> 10.0)
    - FirebaseAuthInterop (~> 10.25)
    - FirebaseCore (~> 10.0)
    - FirebaseCoreExtension (~> 10.0)
    - GoogleUtilities/Environment (~> 7.12)
    - GTMSessionFetcher/Core (< 4.0, >= 2.1)
  - Fyber_Marketplace_SDK (8.3.6)
  - Google-Mobile-Ads-SDK (12.4.0):
    - GoogleUserMessagingPlatform (>= 1.1)
  - GoogleAppMeasurement (10.25.0):
    - GoogleAppMeasurement/AdIdSupport (= 10.25.0)
    - GoogleUtilities/AppDelegateSwizzler (~> 7.11)
    - GoogleUtilities/MethodSwizzler (~> 7.11)
    - GoogleUtilities/Network (~> 7.11)
    - "GoogleUtilities/NSData+zlib (~> 7.11)"
    - nanopb (< 2.30911.0, >= 2.30908.0)
  - GoogleAppMeasurement/AdIdSupport (10.25.0):
    - GoogleAppMeasurement/WithoutAdIdSupport (= 10.25.0)
    - GoogleUtilities/AppDelegateSwizzler (~> 7.11)
    - GoogleUtilities/MethodSwizzler (~> 7.11)
    - GoogleUtilities/Network (~> 7.11)
    - "GoogleUtilities/NSData+zlib (~> 7.11)"
    - nanopb (< 2.30911.0, >= 2.30908.0)
  - GoogleAppMeasurement/WithoutAdIdSupport (10.25.0):
    - GoogleUtilities/AppDelegateSwizzler (~> 7.11)
    - GoogleUtilities/MethodSwizzler (~> 7.11)
    - GoogleUtilities/Network (~> 7.11)
    - "GoogleUtilities/NSData+zlib (~> 7.11)"
    - nanopb (< 2.30911.0, >= 2.30908.0)
  - GoogleDataTransport (9.4.1):
    - GoogleUtilities/Environment (~> 7.7)
    - nanopb (< 2.30911.0, >= 2.30908.0)
    - PromisesObjC (< 3.0, >= 1.2)
  - GoogleSignIn (6.2.4):
    - AppAuth (~> 1.5)
    - GTMAppAuth (~> 1.3)
    - GTMSessionFetcher/Core (< 3.0, >= 1.1)
  - GoogleUserMessagingPlatform (3.0.0)
  - GoogleUtilities/AppDelegateSwizzler (7.13.3):
    - GoogleUtilities/Environment
    - GoogleUtilities/Logger
    - GoogleUtilities/Network
    - GoogleUtilities/Privacy
  - GoogleUtilities/Environment (7.13.3):
    - GoogleUtilities/Privacy
    - PromisesObjC (< 3.0, >= 1.2)
  - GoogleUtilities/Logger (7.13.3):
    - GoogleUtilities/Environment
    - GoogleUtilities/Privacy
  - GoogleUtilities/MethodSwizzler (7.13.3):
    - GoogleUtilities/Logger
    - GoogleUtilities/Privacy
  - GoogleUtilities/Network (7.13.3):
    - GoogleUtilities/Logger
    - "GoogleUtilities/NSData+zlib"
    - GoogleUtilities/Privacy
    - GoogleUtilities/Reachability
  - "GoogleUtilities/NSData+zlib (7.13.3)":
    - GoogleUtilities/Privacy
  - GoogleUtilities/Privacy (7.13.3)
  - GoogleUtilities/Reachability (7.13.3):
    - GoogleUtilities/Logger
    - GoogleUtilities/Privacy
  - GoogleUtilities/UserDefaults (7.13.3):
    - GoogleUtilities/Logger
    - GoogleUtilities/Privacy
  - GTMAppAuth (1.3.1):
    - AppAuth/Core (~> 1.6)
    - GTMSessionFetcher/Core (< 3.0, >= 1.5)
  - GTMSessionFetcher/Core (2.3.0)
  - InMobiSDK (10.8.3)
  - IronSourceSDK (8.8.0.0)
  - KSCrash/Core (2.0.0)
  - KSCrash/Recording (2.0.0):
    - KSCrash/RecordingCore
  - KSCrash/RecordingCore (2.0.0):
    - KSCrash/Core
  - MadexSDK (1.6.1):
    - SspnetCore (~> 1.6.1)
  - MintegralAdSDK (7.7.8):
    - MintegralAdSDK/BannerAd (= 7.7.8)
    - MintegralAdSDK/BidBannerAd (= 7.7.8)
    - MintegralAdSDK/BidInterstitialVideoAd (= 7.7.8)
    - MintegralAdSDK/BidNativeAd (= 7.7.8)
    - MintegralAdSDK/BidNewInterstitialAd (= 7.7.8)
    - MintegralAdSDK/BidRewardVideoAd (= 7.7.8)
    - MintegralAdSDK/InterstitialVideoAd (= 7.7.8)
    - MintegralAdSDK/NativeAd (= 7.7.8)
    - MintegralAdSDK/NewInterstitialAd (= 7.7.8)
    - MintegralAdSDK/RewardVideoAd (= 7.7.8)
  - MintegralAdSDK/BannerAd (7.7.8):
    - MintegralAdSDK/NativeAd
  - MintegralAdSDK/BidBannerAd (7.7.8):
    - MintegralAdSDK/BannerAd
    - MintegralAdSDK/BidNativeAd
  - MintegralAdSDK/BidInterstitialVideoAd (7.7.8):
    - MintegralAdSDK/BidNativeAd
    - MintegralAdSDK/InterstitialVideoAd
  - MintegralAdSDK/BidNativeAd (7.7.8):
    - MintegralAdSDK/NativeAd
  - MintegralAdSDK/BidNewInterstitialAd (7.7.8):
    - MintegralAdSDK/BidNativeAd
    - MintegralAdSDK/NewInterstitialAd
  - MintegralAdSDK/BidRewardVideoAd (7.7.8):
    - MintegralAdSDK/BidNativeAd
    - MintegralAdSDK/RewardVideoAd
  - MintegralAdSDK/BidSplashAd (7.7.8):
    - MintegralAdSDK/BidNativeAd
    - MintegralAdSDK/SplashAd
  - MintegralAdSDK/InterstitialVideoAd (7.7.8):
    - MintegralAdSDK/NativeAd
  - MintegralAdSDK/NativeAd (7.7.8)
  - MintegralAdSDK/NewInterstitialAd (7.7.8):
    - MintegralAdSDK/InterstitialVideoAd
    - MintegralAdSDK/NativeAd
  - MintegralAdSDK/RewardVideoAd (7.7.8):
    - MintegralAdSDK/NativeAd
  - MintegralAdSDK/SplashAd (7.7.8):
    - MintegralAdSDK/NativeAd
  - MolocoSDKiOS (3.9.1)
  - myTargetSDK (5.31.0):
    - myTrackerSDK (~> 3.3.0)
  - myTrackerSDK (3.3.0)
  - nanopb (2.30910.0):
    - nanopb/decode (= 2.30910.0)
    - nanopb/encode (= 2.30910.0)
  - nanopb/decode (2.30910.0)
  - nanopb/encode (2.30910.0)
  - OMSDK_Appodeal (1.5.4)
  - PromisesObjC (2.4.0)
  - PromisesSwift (2.4.0):
    - PromisesObjC (= 2.4.0)
  - RecaptchaInterop (100.0.0)
  - SspnetCore (1.6.1):
    - SspnetDsp (~> 1.3.1)
  - SspnetDsp (1.3.1)
  - StackModules/Core-Static (3.2.1)
  - StackModules/ProductPresentation-Static (3.2.1):
    - StackModules/Core-Static
  - StackModules/Rendering-Static (3.2.1):
    - OMSDK_Appodeal (~> 1.5.4)
    - StackModules/Core-Static
    - StackModules/ProductPresentation-Static
  - StackModules/Static (3.2.1):
    - StackModules/Core-Static
    - StackModules/ProductPresentation-Static
    - StackModules/Rendering-Static
  - UnityAds (4.14.2)
  - VGSL (7.3.1):
    - VGSLFundamentals (= 7.3.1)
    - VGSLNetworking (= 7.3.1)
    - VGSLUI (= 7.3.1)
  - VGSLFundamentals (7.3.1)
  - VGSLNetworking (7.3.1):
    - VGSLFundamentals (= 7.3.1)
    - VGSLUI (= 7.3.1)
  - VGSLUI (7.3.1):
    - VGSLFundamentals (= 7.3.1)
  - VungleAds (7.5.1)
  - YandexMobileAds (7.12.3):
    - AppMetricaCore (< 6.0.0, >= 5.8.0)
    - AppMetricaCrashes (< 6.0.0, >= 5.8.0)
    - AppMetricaLibraryAdapter (< 6.0.0, >= 5.8.0)
    - DivKitBinaryCompatibilityFacade (= 4.6.1)

DEPENDENCIES:
  - AppLovinMediationBidMachineAdapter (= 3.2.1.0.0)
  - AppLovinMediationBigoAdsAdapter (= 4.7.0.2)
  - AppLovinMediationByteDanceAdapter (= 7.1.1.1.0)
  - AppLovinMediationChartboostAdapter (= 9.9.0.0)
  - AppLovinMediationFacebookAdapter (= 6.17.1.0)
  - AppLovinMediationFyberAdapter (= 8.3.6.0)
  - AppLovinMediationGoogleAdapter (= 12.4.0.0)
  - AppLovinMediationGoogleAdManagerAdapter (= 12.4.0.0)
  - AppLovinMediationInMobiAdapter (= 10.8.3.1)
  - AppLovinMediationIronSourceAdapter (= 8.8.0.0.0)
  - AppLovinMediationMadexAdapter (= 1.4.1)
  - AppLovinMediationMintegralAdapter (= 7.7.8.0.0)
  - AppLovinMediationMolocoAdapter (= 3.9.1.1)
  - AppLovinMediationMyTargetAdapter (= 5.31.0.0)
  - AppLovinMediationUnityAdsAdapter (= 4.14.2.0)
  - AppLovinMediationVungleAdapter (= 7.5.1.2)
  - AppLovinMediationYandexAdapter (= 7.12.3.0)
  - AppLovinSDK (= 13.3.0)
  - AppsFlyerFramework (= 6.15.2)
  - BideaseConnect/AppLovinMaxAdapter (= 1.1.7.1)
  - bigo-ads-new-max-adapter (= 4.5.1.1)
  - FBSDKCoreKit (~> 16.0.1)
  - FBSDKCoreKit_Basics (~> 16.0.1)
  - FBSDKGamingServicesKit (~> 16.0.1)
  - FBSDKLoginKit (~> 16.0.1)
  - FBSDKShareKit (~> 16.0.1)
  - Firebase/Analytics (= 10.25.0)
  - Firebase/Auth (= 10.25.0)
  - Firebase/Core (= 10.25.0)
  - Firebase/Crashlytics (= 10.25.0)
  - Firebase/Messaging (= 10.25.0)
  - Firebase/RemoteConfig (= 10.25.0)
  - Firebase/Storage (= 10.25.0)
  - FirebaseInstallations
  - Google-Mobile-Ads-SDK (= 12.4.0.0)
  - GoogleSignIn (= 6.2.4)
  - MadexSDK (= 1.6.1)

SPEC REPOS:
  https://github.com/CocoaPods/Specs:
    - AppAuth
    - AppLovinSDK
    - AppMetricaCore
    - BigoADS
    - FBSDKCoreKit
    - FBSDKCoreKit_Basics
    - FBSDKShareKit
    - FirebaseAppCheckInterop
    - FirebaseCore
    - FirebaseInstallations
    - Google-Mobile-Ads-SDK
    - GoogleDataTransport
    - GoogleUtilities
    - GTMSessionFetcher
    - MadexSDK
    - PromisesObjC
  trunk:
    - Ads-Global
    - AppAuth
    - AppLovinMediationBidMachineAdapter
    - AppLovinMediationBigoAdsAdapter
    - AppLovinMediationByteDanceAdapter
    - AppLovinMediationChartboostAdapter
    - AppLovinMediationFacebookAdapter
    - AppLovinMediationFyberAdapter
    - AppLovinMediationGoogleAdapter
    - AppLovinMediationGoogleAdManagerAdapter
    - AppLovinMediationInMobiAdapter
    - AppLovinMediationIronSourceAdapter
    - AppLovinMediationMadexAdapter
    - AppLovinMediationMintegralAdapter
    - AppLovinMediationMolocoAdapter
    - AppLovinMediationMyTargetAdapter
    - AppLovinMediationUnityAdsAdapter
    - AppLovinMediationVungleAdapter
    - AppLovinMediationYandexAdapter
    - AppMetricaCoreExtension
    - AppMetricaCoreUtils
    - AppMetricaCrashes
    - AppMetricaEncodingUtils
    - AppMetricaFMDB
    - AppMetricaHostState
    - AppMetricaIdentifiers
    - AppMetricaKeychain
    - AppMetricaLibraryAdapter
    - AppMetricaLog
    - AppMetricaLogSwift
    - AppMetricaNetwork
    - AppMetricaPlatform
    - AppMetricaProtobuf
    - AppMetricaProtobufUtils
    - AppMetricaStorageUtils
    - AppMetricaSynchronization
    - AppsFlyerFramework
    - BideaseConnect
    - BidMachine
    - bigo-ads-new-max-adapter
    - ChartboostSDK
    - DivKit
    - DivKit_LayoutKit
    - DivKit_LayoutKitInterface
    - DivKit_Serialization
    - DivKitBinaryCompatibilityFacade
    - FBAEMKit
    - FBAudienceNetwork
    - FBSDKGamingServicesKit
    - FBSDKLoginKit
    - Firebase
    - FirebaseABTesting
    - FirebaseAnalytics
    - FirebaseAuth
    - FirebaseAuthInterop
    - FirebaseCoreExtension
    - FirebaseCoreInternal
    - FirebaseCrashlytics
    - FirebaseMessaging
    - FirebaseRemoteConfig
    - FirebaseRemoteConfigInterop
    - FirebaseSessions
    - FirebaseSharedSwift
    - FirebaseStorage
    - Fyber_Marketplace_SDK
    - GoogleAppMeasurement
    - GoogleSignIn
    - GoogleUserMessagingPlatform
    - GoogleUtilities
    - GTMAppAuth
    - InMobiSDK
    - IronSourceSDK
    - KSCrash
    - MintegralAdSDK
    - MolocoSDKiOS
    - myTargetSDK
    - myTrackerSDK
    - nanopb
    - OMSDK_Appodeal
    - PromisesSwift
    - RecaptchaInterop
    - SspnetCore
    - SspnetDsp
    - StackModules
    - UnityAds
    - VGSL
    - VGSLFundamentals
    - VGSLNetworking
    - VGSLUI
    - VungleAds
    - YandexMobileAds

SPEC CHECKSUMS:
  Ads-Global: b81917c405e94ad38dd45022f0fe17042429f578
  AppAuth: d4f13a8fe0baf391b2108511793e4b479691fb73
  AppLovinMediationBidMachineAdapter: c460a322e8d71bf957264935871b98401f1b08d1
  AppLovinMediationBigoAdsAdapter: a16dafb5b55cf8aca3224daefbad0f7758a26985
  AppLovinMediationByteDanceAdapter: 82f5a49494a40a3dfa4b959d6f089986c924511b
  AppLovinMediationChartboostAdapter: 51ea36fd9773465c631dc7a054f7ab4cf418f611
  AppLovinMediationFacebookAdapter: 413c7188e2a21e4c9256aa2b096ddc27240b1443
  AppLovinMediationFyberAdapter: c75e18b1b65dcf194ff23822262ea9823a6a8acd
  AppLovinMediationGoogleAdapter: 7af110d411a28ab21ca7ff08a48fd21be532c0ff
  AppLovinMediationGoogleAdManagerAdapter: c31f13677e293f3ac9b94e0d4239208ad4dc258f
  AppLovinMediationInMobiAdapter: d48f3ea94e88f04c86215edf1f56436bfe2a51b5
  AppLovinMediationIronSourceAdapter: 77406f18fbb4efc4c0476666dc2b85f51a7b07cb
  AppLovinMediationMadexAdapter: a38aee5880edf6c3703d53c9a823648d3b007d91
  AppLovinMediationMintegralAdapter: 5f64aa8427ba19efea2e0d583abc22dc4633705b
  AppLovinMediationMolocoAdapter: 13b9a6b0cefdbdc9850d18863987393192c0ca79
  AppLovinMediationMyTargetAdapter: 2c72cda73eb2a9705045afe01c4830f8e2ac1a2d
  AppLovinMediationUnityAdsAdapter: 4e4045a920c11e08ba16208aeffa38cc6c3d7376
  AppLovinMediationVungleAdapter: dec51ed10eb5bf5dd26396d73c2bd43e1c09eb80
  AppLovinMediationYandexAdapter: d81b807cd4a513789efd7111cbdb95506da59fab
  AppLovinSDK: 5ed9dbada0de5a80e4546116994470011ed01f53
  AppMetricaCore: 6ad500da8cf891cf1ae4dadb8593dc127cd28c95
  AppMetricaCoreExtension: 376d3c84742f90901b44b78988f9ca5f57272f6e
  AppMetricaCoreUtils: ad4c88c5338e3aa6668f1f0de282d97306487c79
  AppMetricaCrashes: 527e0bae11138491f7a698ab5784383056f65983
  AppMetricaEncodingUtils: f282281e52824b5584a9994946b6f6f9725970c3
  AppMetricaFMDB: 7f13f0ddc2203ac593db96baa807783956904efc
  AppMetricaHostState: 0638b8433d70d001b47a44fade6b51e465fc9626
  AppMetricaIdentifiers: e75d45cbb3b422531aa15a01e34fa8b7a0a1ec37
  AppMetricaKeychain: 260ca4557d917a4b238b753ec7e07a82946eedbf
  AppMetricaLibraryAdapter: 124fd62cccdba9decdf0d408690a9f4c604c79ab
  AppMetricaLog: bd20a91993f0faa4f506c71e77df941225ae2114
  AppMetricaLogSwift: 778a1d0d50b9230393d2224cf923d6171dcfc1ba
  AppMetricaNetwork: 74d5c233a26a5938f25f074103b781599535be7e
  AppMetricaPlatform: a55be9f074688addfdbea57f64287286651e6158
  AppMetricaProtobuf: c3d320e26751c1d324009a93d7fd6336e5125e08
  AppMetricaProtobufUtils: f02b5e26d31b20407b5a9834f00502e65e6bee20
  AppMetricaStorageUtils: d9402ed21182a084b7904e30e5ced73214fe6780
  AppMetricaSynchronization: 032608cc112d218c249835f6555879797e9f8381
  AppsFlyerFramework: 3c6c50b7b3f0f37f648a5b23114940e0766e65e8
  BideaseConnect: 1e583f6a2a4b11599af719ae47c363db9a4f5707
  BidMachine: 48529ae35f438e48708882e08426b907434eeee9
  bigo-ads-new-max-adapter: 815f0c495578f2e025573eff875d81fc2551ea83
  BigoADS: 8f0cee203e50095cc4d43dc5067695fc32eb094f
  ChartboostSDK: 76a7e776535659a17dbfaa08327fa5b3ad7c0769
  DivKit: 6199401ae3cd647f34a151d7a13e904cf0b652dd
  DivKit_LayoutKit: 1f3c4f4f7623bdb72201e9f11423b6c827614261
  DivKit_LayoutKitInterface: 1d0a2b7093a881c91577c25241c3ee14b1e56447
  DivKit_Serialization: 8383d924c65cc2f3cddc6f7b21f593f35bf5b2aa
  DivKitBinaryCompatibilityFacade: 99f7ce6693fe3705c8ccb8c6d8c27aae0637b5ec
  FBAEMKit: daac7466b918752f020345be5c7d9787f98cfc07
  FBAudienceNetwork: eb3ffbf2b35df25e21e163657044ffef66616a40
  FBSDKCoreKit: 2cb033464b2134af0138f87d20b859eb3f9be359
  FBSDKCoreKit_Basics: d37280da2e65872f0e931d15f45d97ea324fec37
  FBSDKGamingServicesKit: 6b1cf4c68d5a8e8849522ec94e5a1bbdc23541e7
  FBSDKLoginKit: c47a3b90920702487b10b647c63520dc2676dad9
  FBSDKShareKit: dbc6adab8c837275fa6e7f5f0992dbde4fea87eb
  Firebase: 0312a2352584f782ea56f66d91606891d4607f06
  FirebaseABTesting: d87f56707159bae64e269757a6e963d490f2eebe
  FirebaseAnalytics: ec00fe8b93b41dc6fe4a28784b8e51da0647a248
  FirebaseAppCheckInterop: 6a1757cfd4067d8e00fccd14fcc1b8fd78cfac07
  FirebaseAuth: c0f93dcc570c9da2bffb576969d793e95c344fbb
  FirebaseAuthInterop: 17db81e9b198afb0f95ce48c133825727eed55d3
  FirebaseCore: 7ec4d0484817f12c3373955bc87762d96842d483
  FirebaseCoreExtension: 705ca5b14bf71d2564a0ddc677df1fc86ffa600f
  FirebaseCoreInternal: df84dd300b561c27d5571684f389bf60b0a5c934
  FirebaseCrashlytics: 4b96efb0ce73b38b2a85e8b8bd1bd8f63f09d015
  FirebaseInstallations: 913cf60d0400ebd5d6b63a28b290372ab44590dd
  FirebaseMessaging: 88950ba9485052891ebe26f6c43a52bb62248952
  FirebaseRemoteConfig: 9f3935cefecd85d5b312192117f444957de24a75
  FirebaseRemoteConfigInterop: 6efda51fb5e2f15b16585197e26eaa09574e8a4d
  FirebaseSessions: dbd14adac65ce996228652c1fc3a3f576bdf3ecc
  FirebaseSharedSwift: 20530f495084b8d840f78a100d8c5ee613375f6e
  FirebaseStorage: 44f4e25073f6fa0d4d8c09f5bec299ee9e4eb985
  Fyber_Marketplace_SDK: 231146f679a38b29fe40c855b51c2a7dc085c116
  Google-Mobile-Ads-SDK: db00a3836f288f94e52114f312b56fe066699d82
  GoogleAppMeasurement: 9abf64b682732fed36da827aa2a68f0221fd2356
  GoogleDataTransport: 6c09b596d841063d76d4288cc2d2f42cc36e1e2a
  GoogleSignIn: 5651ce3a61e56ca864160e79b484cd9ed3f49b7a
  GoogleUserMessagingPlatform: f8d0cdad3ca835406755d0a69aa634f00e76d576
  GoogleUtilities: ea963c370a38a8069cc5f7ba4ca849a60b6d7d15
  GTMAppAuth: 0ff230db599948a9ad7470ca667337803b3fc4dd
  GTMSessionFetcher: 3a63d75eecd6aa32c2fc79f578064e1214dfdec2
  InMobiSDK: 174c7910f27fb860e4f2204d621ef724efefc819
  IronSourceSDK: ff0b14630899756847f7608a75182f10f022e5ef
  KSCrash: ad271a7799f0a2841be0fb7d6bd105444c440832
  MadexSDK: 1608df3f764789d72cb35118749870cde9a910b3
  MintegralAdSDK: 07e018290689b906499d8285654bba42681cafcf
  MolocoSDKiOS: 1474abe1f4cde14b95ce2a38f4fb917a80e40e74
  myTargetSDK: 624985109759021a5e1790903156cd8b15606e19
  myTrackerSDK: 50f2ca5ca7a6aec2661f378b7441a85e15f2af29
  nanopb: 438bc412db1928dac798aa6fd75726007be04262
  OMSDK_Appodeal: 9ed58fc8cabfbe31637cd267b35c1f86d227c49d
  PromisesObjC: f5707f49cb48b9636751c5b2e7d227e43fba9f47
  PromisesSwift: 9d77319bbe72ebf6d872900551f7eeba9bce2851
  RecaptchaInterop: 7d1a4a01a6b2cb1610a47ef3f85f0c411434cb21
  SspnetCore: e3bc8431621a604d747fa958e2dbf5c0412b0f0c
  SspnetDsp: 2e8709bef0f11b8af146c446e0638694ed9530c2
  StackModules: e2f19291e90a7f7ce502153d61936f66d18d6a35
  UnityAds: eabbbb3014326e45dc221a467fba16960e7b73e3
  VGSL: b3747761f16161e1b6c47b31ae90e13fe6371a08
  VGSLFundamentals: 761b973e93daf25ec2d9cc576d3e331fe7b6b0d9
  VGSLNetworking: c1e5a2838c84e10e93b9ba7492a9f3009cf3adff
  VGSLUI: db06251d0c850d02b51f2f76091d0e80ae4ee410
  VungleAds: f7143149d6160211c6d462453adce125160e4283
  YandexMobileAds: 345587aa083722db0ba20e9b00f46a02fed7b7b6

PODFILE CHECKSUM: e073cbb0b76980b36130e4c60bf2a92abf2a0756

COCOAPODS: 1.16.2


Activity

  1. google-oss-bot commented on Jun 12, 2025

    @google-oss-bot

    I couldn't figure out how to label this issue, so I've labeled it for a human to triage. Hang tight.

  2. changed the title [-][Bug] Firebase crashes at objc_getClassList on IOS 15.*[/-] [+][Bug] Firebase crashes at objc_copyClassList on IOS 15.*[/+] on Jun 12, 2025
  3. rossojr92 commented on Jun 16, 2025

    @rossojr92

    Same problem here.

    Image

    In our case it started when migrating from Firebase 11.9.0 to 12.9.0.
    Unity version: 2022.3.58f1.
    XCode version: 16.1.

    I can confirm it's only happening with iOS 15.
    In our case: 15.8.4 (19H390) and 15.5 (19F77).

    It's creating a spike in our crashes report.

    Image

    Is it something that require a new release from Firebase side or is it something fixable from remote?

  4. AlkisFortuneFish commented on Jun 16, 2025

    @AlkisFortuneFish

    Same here. I have a lot more info, and the most minimal 100% repro.

    In our case, it appears to very specifically crash when libFirebaseCppApp.a and libUnityARKit.a are both in the project.

    This started happening on Unity 6, so I feel the incompatibility arose in com.unity.xr.arkit 6.1.0, as the same version of libFirebaseCppApp with the older version of libUnityARKit from our Unity 2022.3 builds did not crash.

    We caught it during QA, so it has not hit any of our actual users yet, I am trying to figure out if I can work around it.

    I have attached the crash repro, obviously with our google-services config removed. I have removed the vast majority of the SDK, leaving only libFirebaseCppApp.a and EDM4U to get the frameworks in.

    FirebaseARFoundationCrashRepro.zip

    Build this to an iOS 15 device and it will crash with the following call stack:

    Thread 1 Queue : com.apple.main-thread (serial)
    #0 0x0000000000000000 in 0x00000000 ()
    #1 0x000000010aede368 in type metadata completion function for RoomCaptureSessionView ()
    #2 0x0000000185b07870 in swift::MetadataCacheEntryBase<(anonymous namespace)::SingletonMetadataCacheEntry, int>::doInitialization ()
    #3 0x0000000185af8974 in swift_getSingletonMetadata ()
    #4 0x000000010aed9164 in type metadata accessor for RoomCaptureSessionView ()
    #5 0x000000010aede544 in ObjC metadata update function for RoomCaptureSessionView ()
    #6 0x0000000198911908 in realizeAllClasses ()
    #7 0x0000000198912c74 in objc_copyClassList ()
    #8 0x000000010af1ce90 in firebase::util::ForEachAppDelegateClass ()
    #9 0x000000010af26b5c in +[UIApplication(FIRFBI) load] ()
    #10 0x00000001988fe8dc in load_images ()
    #11 0x00000001046f99d4 in dyld4::RuntimeState::notifyObjCInit ()
    #12 0x00000001046fdb54 in dyld4::Loader::runInitializersBottomUp ()
    #13 0x0000000104703840 in dyld4::Loader::runInitializersBottomUpPlusUpwardLinks ()
    #14 0x00000001046fd36c in dyld4::APIs::dlopen_from ()
    #15 0x000000018116d29c in _CFBundleDlfcnLoadFramework ()
    #16 0x0000000181100b3c in _CFBundleLoadExecutableAndReturnError ()
    #17 0x00000001827cf030 in -[NSBundle loadAndReturnError:] ()
    #18 0x000000010468fc2c in UnityFrameworkLoad at /Users/leonardodavinci/Desktop/CrashRepro/MainApp/main.mm:10
    #19 0x000000010468fcb4 in main at /Users/leonardodavinci/Desktop/CrashRepro/MainApp/main.mm:25
    #20 0x000000010470c4d0 in start ()

  5. AlkisFortuneFish commented on Jun 16, 2025

    @AlkisFortuneFish

    Reading through the linked Swift issue, my guess is that the following happens:

    1. libUnityARKit.a contains some parts that are only compatible with iOS 16+
      
    2. libFirebaseCppApp.a calls objc_getClassList to do swizzling.
      
    3. objc_getClassList ignores OS compatibility.
      
    4. Crash
      

    Interestingly, this does not crash on iOS 14.

  6. AlkisFortuneFish commented on Jun 16, 2025

    @AlkisFortuneFish

    Okay, I've managed to work around this by rebuilding the SDK with the swizzling modified not to use objc_copyClassList. My workaround is not generic, it just grabs my actual app delegate class with a hardwired name, but it works.

  7. a-maurice commented on Jun 17, 2025

    @a-maurice
    Contributor

    Thanks for flagging this issue. I'll investigate what we can do on our end about it. Unfortunately I don't think there is a great workaround beyond doing what @AlkisFortuneFish did, of rebuilding it with a hardcoded path for the app delegate class.

  8. AlkisFortuneFish commented on Jun 17, 2025

    @AlkisFortuneFish

    @a-maurice It could be an option to add a plist setting to set the app delegate class name, that way this can be addressed without needing custom builds.

  9. CoderLXG commented on Jun 19, 2025

    @CoderLXG

    Have you used AppLovin?And the version is 13.3.0?AppLovin SDK 13.3.1 fixed this issue.

  10. rossojr92 commented on Jun 20, 2025

    @rossojr92

    I had exactly that version of AppLovin (13.3.0).
    I updated to 13.3.1 and they reported it in their changelog.

    Thanks @CoderLXG for pointing that out.

    Image

  11. argzdev commented on Jun 20, 2025

    @argzdev

    Hey folks, thanks for the updates.

    Are you also using AppLovin SDK, @rzer? Can you confirm if the latest version of AppLovin resolves the issue or another plugin is causing the issue.

  12. rzer commented on Jun 21, 2025

    @rzer
    Author

    The developer build has been launched on iPhone 6s. I'll test it in TestFlight, but at first glance it works.

  13. added and removed
    needs-infoNeed information for the developer
    on Jun 21, 2025
  14. a-maurice commented on Jun 26, 2025

    @a-maurice
    Contributor

    Alright, this should be resolved with the latest release 12.10.1, https://github.com/firebase/firebase-unity-sdk/releases/tag/v12.10.1

    We did two different approaches: First, we've changed how the swizzling logic is finding the AppDelegate classes to no longer rely on objc_copyClassList at all, so the default behavior shouldn't hit this crash, and as a benefit should be faster.

    Second, we've provided a way to set the name of the App Delegate class yourself, if you add FirebaseAppDelegateClassName: YourAppDelegateClass to your Info.plist file, it will just search for that class, and use it (but will fall back to the newer swizzling logic if that fails for whatever reason.

    Thanks for flagging this issue, and thanks @AlkisFortuneFish for suggesting the Info.plist workaround.

  15. locked and limited conversation to collaborators on Jul 27, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions

      ⌂ 换网址