Skip to content

Commit 7964564

Browse files
authored
Don't generate missing Analytics warning on Catalyst (#7719)
1 parent 0175b86 commit 7964564

File tree

2 files changed

+2
-1
lines changed

2 files changed

+2
-1
lines changed

CoreOnly/Sources/Firebase.h

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -103,7 +103,7 @@ FirebaseAnalytics dependency to your project to ensure Messaging works as intend
103103
104104
#if __has_include(<FirebaseRemoteConfig/FirebaseRemoteConfig.h>)
105105
#import <FirebaseRemoteConfig/FirebaseRemoteConfig.h>
106-
#if TARGET_OS_IOS && !__has_include(<FirebaseAnalytics/FirebaseAnalytics.h>)
106+
#if TARGET_OS_IOS && !TARGET_OS_CATALYST && !__has_include(<FirebaseAnalytics/FirebaseAnalytics.h>)
107107
#ifndef FIREBASE_ANALYTICS_SUPPRESS_WARNING
108108
#warning "FirebaseAnalytics.framework is not included in your target. Please add the \
109109
FirebaseAnalytics dependency to your project to ensure Firebase Remote Config works as intended."

FirebaseRemoteConfig/CHANGELOG.md

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,6 @@
11
# v7.9.0
22
- [added] Enabled community supported watchOS build in Swift Package Manager. (#7696)
3+
- [fixed] Don't generate missing Analytics warning on Catalyst. (#7693)
34

45
# v7.8.0
56
- [fixed] Store fetch metadata per namespace to address activation issues. (#7179)

0 commit comments

Comments
 (0)