Skip to content

Commit

Permalink
[CI Testing] visionOS build should fail
Browse files Browse the repository at this point in the history
  • Loading branch information
andrewheard committed Nov 1, 2023
1 parent 7351504 commit 2d7c57d
Showing 1 changed file with 6 additions and 1 deletion.
7 changes: 6 additions & 1 deletion FirebaseCore/Sources/FIRApp.m
Original file line number Diff line number Diff line change
Expand Up @@ -110,7 +110,12 @@ @implementation FIRApp
static FIRApp *sDefaultApp;

+ (void)configure {
FIROptions *options = [FIROptions defaultOptions];
// The following should not compile if visionOS is properly being built.
#if defined(TARGET_OS_VISION) && TARGET_OS_VISION
THIS SHOULD NOT COMPILE
#endif // defined(TARGET_OS_VISION) && TARGET_OS_VISION

FIROptions *options = [FIROptions defaultOptions];
if (!options) {
#if DEBUG
[self findMisnamedGoogleServiceInfoPlist];
Expand Down

0 comments on commit 2d7c57d

Please sign in to comment.