40
40
41
41
#if __has_include(<FirebaseDynamicLinks/FirebaseDynamicLinks.h>)
42
42
#import <FirebaseDynamicLinks/FirebaseDynamicLinks.h>
43
- #if !__has_include(<FirebaseAnalytics/FirebaseAnalytics.h>)
43
+ #if TARGET_OS_IOS && !__has_include(<FirebaseAnalytics/FirebaseAnalytics.h>)
44
44
#ifndef FIREBASE_ANALYTICS_SUPPRESS_WARNING
45
- #warning " FirebaseAnalytics.framework is not included in your target. Please add \
46
- `Firebase/Analytics` to your Podfile or add FirebaseAnalytics.framework to your project to ensure \
47
- Firebase Dynamic Links works as intended."
45
+ #warning " FirebaseAnalytics.framework is not included in your target. Please add the \
46
+ FirebaseAnalytics dependency to your project to ensure Firebase Dynamic Links works as intended."
48
47
#endif // #ifndef FIREBASE_ANALYTICS_SUPPRESS_WARNING
49
48
#endif
50
49
#endif
@@ -59,11 +58,10 @@ Firebase Dynamic Links works as intended."
59
58
60
59
#if __has_include(<FirebaseInAppMessaging/FirebaseInAppMessaging.h>)
61
60
#import <FirebaseInAppMessaging/FirebaseInAppMessaging.h>
62
- #if !__has_include(<FirebaseAnalytics/FirebaseAnalytics.h>)
61
+ #if TARGET_OS_IOS && !__has_include(<FirebaseAnalytics/FirebaseAnalytics.h>)
63
62
#ifndef FIREBASE_ANALYTICS_SUPPRESS_WARNING
64
- #warning " FirebaseAnalytics.framework is not included in your target. Please add \
65
- `Firebase/Analytics` to your Podfile or add FirebaseAnalytics.framework to your project to ensure \
66
- Firebase In App Messaging works as intended."
63
+ #warning " FirebaseAnalytics.framework is not included in your target. Please add the \
64
+ FirebaseAnalytics dependency to your project to ensure Firebase In App Messaging works as intended."
67
65
#endif // #ifndef FIREBASE_ANALYTICS_SUPPRESS_WARNING
68
66
#endif
69
67
#endif
@@ -74,11 +72,11 @@ Firebase In App Messaging works as intended."
74
72
75
73
#if __has_include(<FirebaseMessaging/FirebaseMessaging.h>)
76
74
#import <FirebaseMessaging/FirebaseMessaging.h>
77
- #if !__has_include(<FirebaseAnalytics/FirebaseAnalytics.h>)
75
+ #if TARGET_OS_IOS && !__has_include(<FirebaseAnalytics/FirebaseAnalytics.h>)
78
76
#ifndef FIREBASE_ANALYTICS_SUPPRESS_WARNING
79
- #warning " FirebaseAnalytics.framework is not included in your target. Please add \
80
- `Firebase/Analytics` to your Podfile or add FirebaseAnalytics.framework to your project to ensure \
81
- Firebase Messaging works as intended. "
77
+ #warning " FirebaseAnalytics.framework is not included in your target. Please add the \
78
+ FirebaseAnalytics dependency to your project to ensure Messaging works as intended. "
79
+
82
80
#endif // #ifndef FIREBASE_ANALYTICS_SUPPRESS_WARNING
83
81
#endif
84
82
#endif
@@ -137,22 +135,20 @@ Firebase Messaging works as intended."
137
135
138
136
#if __has_include(<FirebasePerformance/FirebasePerformance.h>)
139
137
#import <FirebasePerformance/FirebasePerformance.h>
140
- #if !__has_include(<FirebaseAnalytics/FirebaseAnalytics.h>)
138
+ #if TARGET_OS_IOS && !__has_include(<FirebaseAnalytics/FirebaseAnalytics.h>)
141
139
#ifndef FIREBASE_ANALYTICS_SUPPRESS_WARNING
142
- #warning " FirebaseAnalytics.framework is not included in your target. Please add \
143
- `Firebase/Analytics` to your Podfile or add FirebaseAnalytics.framework to your project to ensure \
144
- Firebase Performance works as intended."
140
+ #warning " FirebaseAnalytics.framework is not included in your target. Please add the \
141
+ FirebaseAnalytics dependency to your project to ensure Firebase Performance works as intended."
145
142
#endif // #ifndef FIREBASE_ANALYTICS_SUPPRESS_WARNING
146
143
#endif
147
144
#endif
148
145
149
146
#if __has_include(<FirebaseRemoteConfig/FirebaseRemoteConfig.h>)
150
147
#import <FirebaseRemoteConfig/FirebaseRemoteConfig.h>
151
- #if !__has_include(<FirebaseAnalytics/FirebaseAnalytics.h>)
148
+ #if TARGET_OS_IOS && !__has_include(<FirebaseAnalytics/FirebaseAnalytics.h>)
152
149
#ifndef FIREBASE_ANALYTICS_SUPPRESS_WARNING
153
- #warning " FirebaseAnalytics.framework is not included in your target. Please add \
154
- `Firebase/Analytics` to your Podfile or add FirebaseAnalytics.framework to your project to ensure \
155
- Firebase Remote Config works as intended."
150
+ #warning " FirebaseAnalytics.framework is not included in your target. Please add the \
151
+ FirebaseAnalytics dependency to your project to ensure Firebase Remote Config works as intended."
156
152
#endif // #ifndef FIREBASE_ANALYTICS_SUPPRESS_WARNING
157
153
#endif
158
154
#endif
0 commit comments