Răsfoiți Sursa

s/TARGET_OS_TVOS/TARGET_OS_TV (#9052)

Nick Cooke 4 ani în urmă
părinte
comite
aff611300f

+ 1 - 1
FirebaseInAppMessaging/iOS/FirebaseInAppMessaging_iOS.m

@@ -13,6 +13,6 @@
 // limitations under the License.
 
 #import <TargetConditionals.h>
-#if !(TARGET_OS_IOS || TARGET_OS_TVOS)
+#if !(TARGET_OS_IOS || TARGET_OS_TV)
 #warning "Firebase In App Messaging only supports the iOS and tvOS platforms."
 #endif

+ 4 - 4
SwiftPMTests/objc-import-test/objc-header.m

@@ -25,12 +25,12 @@
 #import "FirebaseDynamicLinks/FirebaseDynamicLinks.h"
 #import "FirebaseFirestore/FirebaseFirestore.h"
 #import "FirebaseFunctions/FirebaseFunctions.h"
-#if TARGET_OS_IOS || TARGET_OS_TVOS
+#if TARGET_OS_IOS || TARGET_OS_TV
 #import "FirebaseInAppMessaging/FirebaseInAppMessaging.h"
 #endif
 #import "FirebaseInstallations/FirebaseInstallations.h"
 #import "FirebaseMessaging/FirebaseMessaging.h"
-#if (TARGET_OS_IOS && !TARGET_OS_MACCATALYST) || TARGET_OS_TVOS
+#if (TARGET_OS_IOS && !TARGET_OS_MACCATALYST) || TARGET_OS_TV
 #import "FirebasePerformance/FirebasePerformance.h"
 #endif
 #import "FirebaseRemoteConfig/FirebaseRemoteConfig.h"
@@ -49,12 +49,12 @@
 #import <FirebaseDynamicLinks/FirebaseDynamicLinks.h>
 #import <FirebaseFirestore/FirebaseFirestore.h>
 #import <FirebaseFunctions/FirebaseFunctions.h>
-#if TARGET_OS_IOS || TARGET_OS_TVOS
+#if TARGET_OS_IOS || TARGET_OS_TV
 #import <FirebaseInAppMessaging/FirebaseInAppMessaging.h>
 #endif
 #import <FirebaseInstallations/FirebaseInstallations.h>
 #import <FirebaseMessaging/FirebaseMessaging.h>
-#if (TARGET_OS_IOS && !TARGET_OS_MACCATALYST) || TARGET_OS_TVOS
+#if (TARGET_OS_IOS && !TARGET_OS_MACCATALYST) || TARGET_OS_TV
 #import <FirebasePerformance/FirebasePerformance.h>
 #endif
 #import <FirebaseRemoteConfig/FirebaseRemoteConfig.h>

+ 2 - 2
SwiftPMTests/objc-import-test/objc-module.m

@@ -25,12 +25,12 @@
 @import FirebaseDynamicLinks;
 @import FirebaseFirestore;
 @import FirebaseFunctions;
-#if TARGET_OS_IOS || TARGET_OS_TVOS
+#if TARGET_OS_IOS || TARGET_OS_TV
 @import FirebaseInAppMessaging;
 #endif
 @import FirebaseInstallations;
 @import FirebaseMessaging;
-#if (TARGET_OS_IOS && !TARGET_OS_MACCATALYST) || TARGET_OS_TVOS
+#if (TARGET_OS_IOS && !TARGET_OS_MACCATALYST) || TARGET_OS_TV
 @import FirebasePerformance;
 #endif
 @import FirebaseRemoteConfig;