Description
Firebase / Crashlytics seems to be causing repeated crashes whenever we use SwiftUI Previews / Xcode Canvas.
Here's an example, in [FBLPromise HTTPBody]:

Note that Firebase / Crashlytics is not causing any crashes when we actually run the app -- they only happen in the SwiftUI Previews environment.
We were experiencing this issue on Firebase 10.19, and just bumped to 10.29 to verify this is still an issue.
The relevant section of our Cartfile is:
binary "https://dl.google.com/dl/firebase/ios/carthage/FirebaseAnalyticsBinary.json" == 10.29.0
binary "https://dl.google.com/dl/firebase/ios/carthage/FirebaseCrashlyticsBinary.json" == 10.29.0
Reproducing the issue
Open Xcode to any file which contains a PreviewProvider while the Canvas feature is enabled. It will crash within a minute or so, then crash again anytime you restart the preview or make a change to the SwiftUI Views.
Firebase SDK Version
10.29.0
Xcode Version
15.3
Installation Method
Carthage
Firebase Product(s)
Crashlytics
Targeted Platforms
iOS
Relevant Log Output
No response
If using Swift Package Manager, the project's Package.resolved
No response
If using CocoaPods, the project's Podfile.lock
No response
Description
Firebase / Crashlytics seems to be causing repeated crashes whenever we use SwiftUI Previews / Xcode Canvas.
Here's an example, in
[FBLPromise HTTPBody]:Note that Firebase / Crashlytics is not causing any crashes when we actually run the app -- they only happen in the SwiftUI Previews environment.
We were experiencing this issue on Firebase 10.19, and just bumped to 10.29 to verify this is still an issue.
The relevant section of our
Cartfileis:Reproducing the issue
Open Xcode to any file which contains a
PreviewProviderwhile the Canvas feature is enabled. It will crash within a minute or so, then crash again anytime you restart the preview or make a change to the SwiftUI Views.Firebase SDK Version
10.29.0
Xcode Version
15.3
Installation Method
Carthage
Firebase Product(s)
Crashlytics
Targeted Platforms
iOS
Relevant Log Output
No response
If using Swift Package Manager, the project's Package.resolved
No response
If using CocoaPods, the project's Podfile.lock
No response