firebase / firebase-ios-sdk

Firebase SDK for Apple App Development
https://firebase.google.com
Apache License 2.0
5.67k stars 1.49k forks source link

Dynamic Links crash at startup #12623

Closed iDevid closed 7 months ago

iDevid commented 7 months ago

Description

The app crashes on startup when using Dynamic Links

#19 0x00000001078c9494 in -[FIRDLJavaScriptExecutor handleExecutionResult:] at /Pods/FirebaseDynamicLinks/FirebaseDynamicLinks/Sources/FIRDLJavaScriptExecutor.m:100
Thread 1: "*** -[__NSPlaceholderArray initWithObjects:count:]: attempt to insert nil object from objects[0]"
Screenshot 2024-03-25 alle 11 45 05

Reproducing the issue

Firebase SDK Version

10.17.0 -> 10.23.0

Xcode Version

15.0.1

Installation Method

CocoaPods

Firebase Product(s)

AB Testing, Analytics, Crashlytics, DynamicLinks, Installations, Messaging, Remote Config

Targeted Platforms

iOS

Relevant Log Output

No response

If using CocoaPods, the project's Podfile.lock

Expand Podfile.lock snippet
```yml PODS: - AcknowList (3.0.0) - Alamofire (5.5.0) - AlamofireImage (4.2.0): - Alamofire (~> 5.4) - Apollo (0.51.2): - Apollo/Core (= 0.51.2) - Apollo/Core (0.51.2) - atlantis-proxyman (1.23.0) - Auth0 (2.0.0): - JWTDecode (~> 2.0) - SimpleKeychain - Down (0.9.5) - FirebaseABTesting (10.23.0): - FirebaseCore (~> 10.0) - FirebaseAnalytics (10.23.0): - FirebaseAnalytics/AdIdSupport (= 10.23.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.23.0): - FirebaseCore (~> 10.0) - FirebaseInstallations (~> 10.0) - GoogleAppMeasurement (= 10.23.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) - FirebaseCore (10.23.0): - FirebaseCoreInternal (~> 10.0) - GoogleUtilities/Environment (~> 7.12) - GoogleUtilities/Logger (~> 7.12) - FirebaseCoreExtension (10.23.0): - FirebaseCore (~> 10.0) - FirebaseCoreInternal (10.23.0): - "GoogleUtilities/NSData+zlib (~> 7.8)" - FirebaseCrashlytics (10.23.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) - FirebaseDynamicLinks (10.23.0): - FirebaseCore (~> 10.0) - FirebaseInstallations (10.23.0): - FirebaseCore (~> 10.0) - GoogleUtilities/Environment (~> 7.8) - GoogleUtilities/UserDefaults (~> 7.8) - PromisesObjC (~> 2.1) - FirebaseMessaging (10.23.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.23.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.23.0) - FirebaseSessions (10.23.0): - FirebaseCore (~> 10.5) - FirebaseCoreExtension (~> 10.0) - FirebaseInstallations (~> 10.0) - GoogleDataTransport (~> 9.2) - GoogleUtilities/Environment (~> 7.10) - nanopb (< 2.30911.0, >= 2.30908.0) - PromisesSwift (~> 2.1) - FirebaseSharedSwift (10.23.0) - FlexiblePageControl (1.0.8) - GoogleAppMeasurement (10.23.0): - GoogleAppMeasurement/AdIdSupport (= 10.23.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.23.0): - GoogleAppMeasurement/WithoutAdIdSupport (= 10.23.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.23.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) - GoogleUtilities/AppDelegateSwizzler (7.13.0): - GoogleUtilities/Environment - GoogleUtilities/Logger - GoogleUtilities/Network - GoogleUtilities/Privacy - GoogleUtilities/Environment (7.13.0): - GoogleUtilities/Privacy - PromisesObjC (< 3.0, >= 1.2) - GoogleUtilities/Logger (7.13.0): - GoogleUtilities/Environment - GoogleUtilities/Privacy - GoogleUtilities/MethodSwizzler (7.13.0): - GoogleUtilities/Logger - GoogleUtilities/Privacy - GoogleUtilities/Network (7.13.0): - GoogleUtilities/Logger - "GoogleUtilities/NSData+zlib" - GoogleUtilities/Privacy - GoogleUtilities/Reachability - "GoogleUtilities/NSData+zlib (7.13.0)": - GoogleUtilities/Privacy - GoogleUtilities/Privacy (7.13.0) - GoogleUtilities/Reachability (7.13.0): - GoogleUtilities/Logger - GoogleUtilities/Privacy - GoogleUtilities/UserDefaults (7.13.0): - GoogleUtilities/Logger - GoogleUtilities/Privacy - Hero (1.6.1) - Instabug (12.7.0) - JWTDecode (2.6.3) - lottie-ios (3.3.0) - MagazineLayout (1.6.5) - nanopb (2.30910.0): - nanopb/decode (= 2.30910.0) - nanopb/encode (= 2.30910.0) - nanopb/decode (2.30910.0) - nanopb/encode (2.30910.0) - OHHTTPStubs/Core (9.1.0) - OHHTTPStubs/Default (9.1.0): - OHHTTPStubs/Core - OHHTTPStubs/JSON - OHHTTPStubs/NSURLSession - OHHTTPStubs/OHPathHelpers - OHHTTPStubs/JSON (9.1.0): - OHHTTPStubs/Core - OHHTTPStubs/NSURLSession (9.1.0): - OHHTTPStubs/Core - OHHTTPStubs/OHPathHelpers (9.1.0) - OHHTTPStubs/Swift (9.1.0): - OHHTTPStubs/Default - PanModal (1.2.7) - Parma (0.3.0): - Down (~> 0.9.3) - PromiseKit/CorePromise (6.17.0) - PromiseKit/Foundation (6.17.0): - PromiseKit/CorePromise - PromisesObjC (2.4.0) - PromisesSwift (2.4.0): - PromisesObjC (= 2.4.0) - Pulley (2.9.1) - ShowTime (2.5.3) - SimpleKeychain (0.12.5) - Sourcery (1.7.0): - Sourcery/CLI-Only (= 1.7.0) - Sourcery/CLI-Only (1.7.0) - Starscream (4.0.6) - SwiftGen (6.5.1) - SwiftLint (0.54.0) - SwiftPhoenixClient (5.3.1) - SwiftyMarkdown (1.2.3) - SwiftyRSA (1.7.0): - SwiftyRSA/ObjC (= 1.7.0) - SwiftyRSA/ObjC (1.7.0) DEPENDENCIES: - AcknowList (= 3.0.0) - Alamofire (= 5.5.0) - AlamofireImage (= 4.2.0) - Apollo (= 0.51.2) - atlantis-proxyman (= 1.23.0) - Auth0 (= 2.0.0) - FirebaseAnalytics (= 10.23.0) - FirebaseCore (= 10.23.0) - FirebaseCrashlytics (= 10.23.0) - FirebaseDynamicLinks (= 10.23.0) - FirebaseInstallations (= 10.23.0) - FirebaseMessaging (= 10.23.0) - FirebaseRemoteConfig (= 10.23.0) - FlexiblePageControl (= 1.0.8) - Hero (= 1.6.1) - Instabug (= 12.7.0) - lottie-ios (= 3.3.0) - MagazineLayout (= 1.6.5) - OHHTTPStubs/Swift (= 9.1.0) - PanModal (from `https://github.com/KacperCzapp/PanModal.git`, commit `c471efae2b29e36ea234d00847f367b67a7163bc`) - Parma (= 0.3.0) - PromiseKit/Foundation (= 6.17.0) - Pulley (= 2.9.1) - ShowTime (= 2.5.3) - SimpleKeychain (= 0.12.5) - Sourcery (= 1.7.0) - Starscream (= 4.0.6) - SwiftGen (= 6.5.1) - SwiftLint (= 0.54.0) - SwiftPhoenixClient (= 5.3.1) - SwiftyMarkdown (= 1.2.3) - SwiftyRSA (= 1.7.0) SPEC REPOS: https://github.com/CocoaPods/Specs.git: - AcknowList - Alamofire - AlamofireImage - Apollo - atlantis-proxyman - Auth0 - Down - FirebaseABTesting - FirebaseAnalytics - FirebaseCore - FirebaseCoreExtension - FirebaseCoreInternal - FirebaseCrashlytics - FirebaseDynamicLinks - FirebaseInstallations - FirebaseMessaging - FirebaseRemoteConfig - FirebaseRemoteConfigInterop - FirebaseSessions - FirebaseSharedSwift - FlexiblePageControl - GoogleAppMeasurement - GoogleDataTransport - GoogleUtilities - Hero - Instabug - JWTDecode - lottie-ios - MagazineLayout - nanopb - OHHTTPStubs - Parma - PromiseKit - PromisesObjC - PromisesSwift - Pulley - ShowTime - SimpleKeychain - Sourcery - Starscream - SwiftGen - SwiftLint - SwiftPhoenixClient - SwiftyMarkdown - SwiftyRSA EXTERNAL SOURCES: PanModal: :commit: c471efae2b29e36ea234d00847f367b67a7163bc :git: https://github.com/KacperCzapp/PanModal.git CHECKOUT OPTIONS: PanModal: :commit: c471efae2b29e36ea234d00847f367b67a7163bc :git: https://github.com/KacperCzapp/PanModal.git SPEC CHECKSUMS: AcknowList: 931531a3e9d66f202ae8e04819a62c50b818b03e Alamofire: 1c4fb5369c3fe93d2857c780d8bbe09f06f97e7c AlamofireImage: 34a2d90b0e5fe6a5605f85ae4b7b01e784c60192 Apollo: e5bc805c3f3556c18edc4eae4e2ea4723cea2318 atlantis-proxyman: de4efab44ed6b1956ca7ecb18e623edc5327911f Auth0: 3a2b817a6129c0f6d5ab9f7ea03ecac11077b0b1 Down: 7321a72d0747ed0061dce948bcff518fcb6df2bd FirebaseABTesting: aec61ed9a34d85a95e2013a3fdf051426a2419df FirebaseAnalytics: 45f6e2e5ef8ccbb90be73ae983c3b20fa78837f7 FirebaseCore: 63efb128decaebb04c4033ed4e05fb0bb1cccef1 FirebaseCoreExtension: cb88851781a24e031d1b58e0bd01eb1f46b044b5 FirebaseCoreInternal: 6a292e6f0bece1243a737e81556e56e5e19282e3 FirebaseCrashlytics: b7aca2d52dd2440257a13741d2909ad80745ac6c FirebaseDynamicLinks: a900d2f42c1cb12e49c4a657cb1d1a307cef6396 FirebaseInstallations: 42d6ead4605d6eafb3b6683674e80e18eb6f2c35 FirebaseMessaging: 1b2270e66c81bbf184f70184db1d6a736ad0def5 FirebaseRemoteConfig: 70ebe9542cf5242d762d1c0b4d53bfc472e0a4ce FirebaseRemoteConfigInterop: cbc87ffa4932719a7911a08e94510f18f026f5a7 FirebaseSessions: f06853e30f99fe42aa511014d7ee6c8c319f08a3 FirebaseSharedSwift: c92645b392db3c41a83a0aa967de16f8bad25568 FlexiblePageControl: 07f7765054f16b3f0bc3f14dfd95ab5f45817ea4 GoogleAppMeasurement: 453eb0de99fcf2bdec9403e9ac5d7871fdba3e3f GoogleDataTransport: 6c09b596d841063d76d4288cc2d2f42cc36e1e2a GoogleUtilities: d053d902a8edaa9904e1bd00c37535385b8ed152 Hero: 215865ba3ae41dd9bb08cd6c60a645529c6fc94b Instabug: 59f0b0bc2c062b5cdbbf417cca365480a1fe55d8 JWTDecode: 33e5e26e5ddbd21b2065820894c08fef0cad9509 lottie-ios: 6ac74dcc09904798f59b18cb3075c089d76be9ae MagazineLayout: aa7a1a70aac10791a08a29790320de0670e3f4ba nanopb: 438bc412db1928dac798aa6fd75726007be04262 OHHTTPStubs: 90eac6d8f2c18317baeca36698523dc67c513831 PanModal: 3e16ead1a907fb06f4df3f13492fd00149fa4974 Parma: 679bca1c20ac336fffcdf9ff1ba0db9388a86a13 PromiseKit: 996202d4cae72b7801b312abef4cd2f995b2978a PromisesObjC: f5707f49cb48b9636751c5b2e7d227e43fba9f47 PromisesSwift: 9d77319bbe72ebf6d872900551f7eeba9bce2851 Pulley: a4c28c930958f42978d69631000bc1abb82cb232 ShowTime: 06cc9dc79886274b21041fe19b79c9eff59b9714 SimpleKeychain: 8193a9e40967eccac933c1fde82de46c07a5ae26 Sourcery: 60248db99c17da7147b83acb9aca4266657c1f2e Starscream: fb2c4510bebf908c62bd383bcf05e673720e91fd SwiftGen: a6d22010845f08fe18fbdf3a07a8e380fd22e0ea SwiftLint: c1de071d9d08c8aba837545f6254315bc900e211 SwiftPhoenixClient: 89958276530f233ab1a001341ee0adb16d18a450 SwiftyMarkdown: be01b2905694bd7bfd95330cd43704bfdb978aec SwiftyRSA: 8c6dd1ea7db1b8dc4fb517a202f88bb1354bc2c6 PODFILE CHECKSUM: e1a30d10a5e430bbae560a76721023ce11ac4b2e COCOAPODS: 1.13.0 ```
google-oss-bot commented 7 months ago

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

iDevid commented 7 months ago

It seems that it was caused by Instabug: https://github.com/Instabug/Instabug-iOS/issues/490

This can be closed, thanks