Skip to content

Commit ec64786

Browse files
authored
Use correct preprocessor macro for Mac Catalyst (#7812)
This was introduced in #7719 to fix a warning that was generated when using Remote Config on Catalyst, however, the PR was not using the correct preprocessor macro for Mac Catalyst, as defined in TargetConditionals.h Co-authored-by: Majd Taby <[email protected]>
1 parent eaa97fa commit ec64786

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-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 && !TARGET_OS_CATALYST && !__has_include(<FirebaseAnalytics/FirebaseAnalytics.h>)
106+
#if TARGET_OS_IOS && !TARGET_OS_MACCATALYST && !__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."

0 commit comments

Comments
 (0)