google / google/promises

Objective-C Promises crashes in SwiftUI previews

Open
#189 3 comments 0 reactions 0 assignees View on GitHub
Dominant language
Objective-C
Stars
3.8k
Forks
316
PR merge metrics
No merged PRs in 30d

Description

When statically linked, the Promises categories don't get linked and apps crash in Swift UI previews.

A workaround may be to add a symbol to the category implementation files that is referenced from a non-category file.

See https://github.com/firebase/firebase-ios-sdk/issues/8005 and https://github.com/firebase/firebase-ios-sdk/issues/9916

Contributor guide

Open the contributing guide

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.