Skip to content

Commit d287788

Browse files
authored
Fix tvOS SPM tests (#8403)
1 parent b7aa953 commit d287788

21 files changed

+46
-33
lines changed

.github/workflows/spm.yml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -6,6 +6,7 @@ on:
66
- '.github/workflows/spm.yml'
77
- 'Package.swift'
88
- '.swiftpm/*'
9+
- 'scripts/build.sh'
910
- 'Gemfile*'
1011
schedule:
1112
# Run every day at 12am (PST) - cron uses UTC times

FirebaseInAppMessaging/Sources/DefaultUI/Banner/FIRIAMBannerViewController.h

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -25,7 +25,7 @@
2525

2626
NS_ASSUME_NONNULL_BEGIN
2727

28-
NS_EXTENSION_UNAVAILABLE_IOS("Firebase In App Messaging is not supported for iOS extensions.")
28+
NS_EXTENSION_UNAVAILABLE("Firebase In App Messaging is not supported for iOS extensions.")
2929
@interface FIRIAMBannerViewController : FIRIAMBaseRenderingViewController
3030
+ (FIRIAMBannerViewController *)
3131
instantiateViewControllerWithResourceBundle:(NSBundle *)resourceBundle

FirebaseInAppMessaging/Sources/DefaultUI/Card/FIRIAMCardViewController.h

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -20,7 +20,7 @@
2020
@protocol FIRInAppMessagingDisplayDelegate;
2121

2222
NS_ASSUME_NONNULL_BEGIN
23-
NS_EXTENSION_UNAVAILABLE_IOS("Firebase In App Messaging is not supported for iOS extensions.")
23+
NS_EXTENSION_UNAVAILABLE("Firebase In App Messaging is not supported for iOS extensions.")
2424
@interface FIRIAMCardViewController : FIRIAMBaseRenderingViewController
2525

2626
+ (FIRIAMCardViewController *)

FirebaseInAppMessaging/Sources/DefaultUI/FIRIAMBaseRenderingViewController.h

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -23,7 +23,7 @@
2323

2424
NS_ASSUME_NONNULL_BEGIN
2525

26-
NS_EXTENSION_UNAVAILABLE_IOS("Firebase In App Messaging is not supported for iOS extensions.")
26+
NS_EXTENSION_UNAVAILABLE("Firebase In App Messaging is not supported for iOS extensions.")
2727
@interface FIRIAMBaseRenderingViewController : UIViewController
2828
@property(nonatomic, readwrite) id<FIRIAMTimeFetcher> timeFetcher;
2929

FirebaseInAppMessaging/Sources/DefaultUI/FIRIAMDefaultDisplayImpl.h

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -25,7 +25,7 @@ NS_SWIFT_NAME(InAppMessagingDefaultDisplayImpl)
2525
* would be instantiated upon SDK start-up automatically. It's exposed in public interface
2626
* to help UI Testing app access the UI layer directly.
2727
*/
28-
NS_EXTENSION_UNAVAILABLE_IOS("Firebase In App Messaging is not supported for iOS extensions.")
28+
NS_EXTENSION_UNAVAILABLE("Firebase In App Messaging is not supported for iOS extensions.")
2929
@interface FIRIAMDefaultDisplayImpl : NSObject <FIRInAppMessagingDisplay>
3030

3131
/// Conforms to display delegate for rendering of in-app messages.

FirebaseInAppMessaging/Sources/DefaultUI/FIRIAMRenderingWindowHelper.h

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -23,7 +23,7 @@ NS_ASSUME_NONNULL_BEGIN
2323
* The caller is supposed to set the rootViewController to be the appropriate view controller
2424
* for the in-app message and call setHidden:NO to make it really visible.
2525
*/
26-
NS_EXTENSION_UNAVAILABLE_IOS("Firebase In App Messaging is not supported for iOS extensions.")
26+
NS_EXTENSION_UNAVAILABLE("Firebase In App Messaging is not supported for iOS extensions.")
2727
@interface FIRIAMRenderingWindowHelper : NSObject
2828

2929
/// Returns the singleton `UIWindow` object used for rendering IAM views that block

FirebaseInAppMessaging/Sources/DefaultUI/ImageOnly/FIRIAMImageOnlyViewController.h

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -23,7 +23,7 @@
2323
@protocol FIRInAppMessagingDisplayDelegate;
2424

2525
NS_ASSUME_NONNULL_BEGIN
26-
NS_EXTENSION_UNAVAILABLE_IOS("Firebase In App Messaging is not supported for iOS extensions.")
26+
NS_EXTENSION_UNAVAILABLE("Firebase In App Messaging is not supported for iOS extensions.")
2727
@interface FIRIAMImageOnlyViewController : FIRIAMBaseRenderingViewController
2828
+ (FIRIAMImageOnlyViewController *)
2929
instantiateViewControllerWithResourceBundle:(NSBundle *)resourceBundle

FirebaseInAppMessaging/Sources/DefaultUI/Modal/FIRIAMModalViewController.h

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -22,7 +22,7 @@
2222
@protocol FIRInAppMessagingDisplayDelegate;
2323

2424
NS_ASSUME_NONNULL_BEGIN
25-
NS_EXTENSION_UNAVAILABLE_IOS("Firebase In App Messaging is not supported for iOS extensions.")
25+
NS_EXTENSION_UNAVAILABLE("Firebase In App Messaging is not supported for iOS extensions.")
2626
@interface FIRIAMModalViewController : FIRIAMBaseRenderingViewController
2727
+ (FIRIAMModalViewController *)
2828
instantiateViewControllerWithResourceBundle:(NSBundle *)resourceBundle

FirebaseInAppMessaging/Sources/Private/Flows/FIRIAMDisplayCheckOnAnalyticEventsFlow.h

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -19,6 +19,6 @@
1919
// An implementation of FIRIAMDisplayCheckTriggerFlow by triggering the display check when
2020
// a Firebase Analytics event is fired.
2121

22-
NS_EXTENSION_UNAVAILABLE_IOS("Firebase In App Messaging is not supported for iOS extensions.")
22+
NS_EXTENSION_UNAVAILABLE("Firebase In App Messaging is not supported for iOS extensions.")
2323
@interface FIRIAMDisplayCheckOnAnalyticEventsFlow : FIRIAMDisplayCheckTriggerFlow
2424
@end

FirebaseInAppMessaging/Sources/Private/Flows/FIRIAMDisplayExecutor.h

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -38,7 +38,7 @@ NS_ASSUME_NONNULL_BEGIN
3838
// conditions are satisfied for the rendering
3939
// 1 No current in-app message is being displayed
4040
// 2 For non-contextual messages, the display interval in display setting is met.
41-
NS_EXTENSION_UNAVAILABLE_IOS("Firebase In App Messaging is not supported for iOS extensions.")
41+
NS_EXTENSION_UNAVAILABLE("Firebase In App Messaging is not supported for iOS extensions.")
4242
@interface FIRIAMDisplayExecutor : NSObject
4343

4444
- (instancetype)initWithInAppMessaging:(FIRInAppMessaging *)inAppMessaging

0 commit comments

Comments
 (0)