File tree Expand file tree Collapse file tree 3 files changed +12
-5
lines changed
FirebaseInAppMessaging/Sources/Flows Expand file tree Collapse file tree 3 files changed +12
-5
lines changed Original file line number Diff line number Diff line change @@ -88,16 +88,15 @@ jobs:
88
88
strategy :
89
89
matrix :
90
90
# Full set of Firebase-Package tests only run on iOS. Run subset on other platforms.
91
+ # visionOS isn't buildable from here (even with Firestore source) because the test
92
+ # targets need Analytics.
91
93
target : [tvOS, macOS, catalyst]
92
94
os : [macos-13, macos-14]
93
95
include :
94
96
- os : macos-13
95
97
xcode : Xcode_15.2
96
98
- os : macos-14
97
99
xcode : Xcode_15.3
98
- - os : macos-14
99
- target : visionOS
100
- xcode : Xcode_15.3
101
100
runs-on : ${{ matrix.os }}
102
101
steps :
103
102
- uses : actions/checkout@v4
Original file line number Diff line number Diff line change @@ -363,8 +363,10 @@ - (void)displayMessageLoadError:(NSError *)error {
363
363
return ;
364
364
}
365
365
self.alertWindow = [[UIWindow alloc ] initWithWindowScene: foregroundedScene];
366
+ #if TARGET_OS_IOS || TARGET_OS_TV
366
367
} else {
367
368
self.alertWindow = [[UIWindow alloc ] initWithFrame: [UIScreen mainScreen ].bounds];
369
+ #endif
368
370
}
369
371
UIViewController *alertViewController = [[UIViewController alloc ] init ];
370
372
self.alertWindow .rootViewController = alertViewController;
Original file line number Diff line number Diff line change @@ -169,10 +169,12 @@ tvos_flags=(
169
169
-destination ' platform=tvOS Simulator,name=Apple TV'
170
170
)
171
171
watchos_flags=(
172
+ -sdk ' watchsimulator'
172
173
-destination ' platform=watchOS Simulator,name=Apple Watch Series 7 (45mm)'
173
174
)
174
175
visionos_flags=(
175
- -destination ' platform=visionOS Simulator'
176
+ -sdk ' xrsimulator'
177
+ -destination ' platform=visionOS Simulator,name=Apple Vision Pro'
176
178
)
177
179
catalyst_flags=(
178
180
ARCHS=x86_64 VALID_ARCHS=x86_64 SUPPORTS_MACCATALYST=YES -sdk macosx
@@ -409,12 +411,16 @@ case "$product-$platform-$method" in
409
411
fi
410
412
;;
411
413
414
+ # TODO: This is actually building for iOS instead of watchOS. Update to use
415
+ # watchOS xcb_flags along with the watchOS sdk option. Also nanopb and promises
416
+ # podspecs need minimum version updates.
417
+
412
418
MessagingSampleStandaloneWatchApp-* -* )
413
419
if check_secrets; then
414
420
RunXcodebuild \
415
421
-workspace ' FirebaseMessaging/Apps/SampleStandaloneWatchApp/SampleStandaloneWatchApp.xcworkspace' \
416
422
-scheme " SampleStandaloneWatchApp Watch App" \
417
- " ${xcb_flags[@]} " \
423
+ -destination ' platform=watchOS Simulator,name=Apple Watch Series 7 (45mm) ' \
418
424
build
419
425
fi
420
426
;;
You can’t perform that action at this time.
0 commit comments