File tree Expand file tree Collapse file tree 2 files changed +6
-0
lines changed Expand file tree Collapse file tree 2 files changed +6
-0
lines changed Original file line number Diff line number Diff line change
1
+ # Unreleased
2
+ - [ fixed] Fixed crash at app start that affected SwiftPM users and CocoaPods
3
+ users using static frameworks (#12882 ).
4
+
1
5
# 10.25.0
2
6
- [ changed] Removed usages of user defaults API to eliminate required reason
3
7
impact.
Original file line number Diff line number Diff line change @@ -72,10 +72,12 @@ + (NSBundle *)getViewResourceBundle {
72
72
[NSBundle mainBundle ],
73
73
// Dynamically linked.
74
74
[NSBundle bundleForClass: myClass],
75
+ #if FIREBASE_BUILD_ZIP_FILE
75
76
// Embedded static framework (zip distribution).
76
77
[NSBundle bundleWithURL: [NSBundle .mainBundle.bundleURL
77
78
URLByAppendingPathComponent:
78
79
@" Frameworks/FirebaseInAppMessaging.framework" ]]
80
+ #endif // FIREBASE_BUILD_ZIP_FILE
79
81
]) {
80
82
bundleURL = [containingBundle URLForResource: bundledResource withExtension: @" bundle" ];
81
83
if (bundleURL != nil ) break ;
You can’t perform that action at this time.
0 commit comments