Skip to content

Commit 09efe72

Browse files
committed
Fix FIAM bundle
1 parent e0d46cc commit 09efe72

File tree

1 file changed

+3
-2
lines changed

1 file changed

+3
-2
lines changed

FirebaseInAppMessaging/Sources/DefaultUI/FIRIAMDefaultDisplayImpl.m

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -73,8 +73,9 @@ + (NSBundle *)getViewResourceBundle {
7373
// Dynamically linked.
7474
[NSBundle bundleForClass:myClass],
7575
// Embedded static framework (zip distribution).
76-
[[NSBundle.mainBundle.bundleURL URLByAppendingPathComponent:@"Frameworks"]
77-
URLByAppendingPathComponent:@"FirebaseInAppMessaging.framework"]
76+
[NSBundle bundleWithURL:[NSBundle.mainBundle.bundleURL
77+
URLByAppendingPathComponent:
78+
@"Frameworks/FirebaseInAppMessaging.framework"]]
7879
]) {
7980
bundleURL = [containingBundle URLForResource:bundledResource withExtension:@"bundle"];
8081
if (bundleURL != nil) break;

0 commit comments

Comments
 (0)