Skip to content

Commit

Permalink
[visionOS] Replace TARGET_OS_XR with TARGET_OS_VISION (#11603)
Browse files Browse the repository at this point in the history
In Xcode 15 beta 5, TARGET_OS_XR was replaced with TARGET_OS_VISION in ObjC and os(xrOS) was replaced with os(visionOS) in Swift.
  • Loading branch information
andrewheard authored Jul 26, 2023
1 parent 3676437 commit e740072
Show file tree
Hide file tree
Showing 27 changed files with 101 additions and 86 deletions.
8 changes: 4 additions & 4 deletions Crashlytics/Crashlytics/Components/FIRCLSBinaryImage.m
Original file line number Diff line number Diff line change
Expand Up @@ -242,7 +242,7 @@ static FIRCLSMachOSegmentCommand FIRCLSBinaryImageMachOGetSegmentCommand(

return segmentCommand;
}
#if !CLS_TARGET_OS_XR
#if !CLS_TARGET_OS_VISION
static bool FIRCLSBinaryImageMachOSliceInitSectionByName(FIRCLSMachOSliceRef slice,
const char* segName,
const char* sectionName,
Expand Down Expand Up @@ -345,7 +345,7 @@ static bool FIRCLSBinaryImageFillInImageDetails(FIRCLSBinaryImageDetails* detail
FIRCLSMachOSection section;

#if CLS_COMPACT_UNWINDING_SUPPORTED
#if !CLS_TARGET_OS_XR
#if !CLS_TARGET_OS_VISION
if (FIRCLSBinaryImageMachOSliceInitSectionByName(&details->slice, SEG_TEXT, "__unwind_info",
&section)) {
details->node.unwindInfo = (void*)(section.addr + details->vmaddr_slide);
Expand All @@ -358,7 +358,7 @@ static bool FIRCLSBinaryImageFillInImageDetails(FIRCLSBinaryImageDetails* detail
#endif

#if CLS_DWARF_UNWINDING_SUPPORTED
#if !CLS_TARGET_OS_XR
#if !CLS_TARGET_OS_VISION
if (FIRCLSBinaryImageMachOSliceInitSectionByName(&details->slice, SEG_TEXT, "__eh_frame",
&section)) {
details->node.ehFrame = (void*)(section.addr + details->vmaddr_slide);
Expand All @@ -370,7 +370,7 @@ static bool FIRCLSBinaryImageFillInImageDetails(FIRCLSBinaryImageDetails* detail
#endif
#endif

#if !CLS_TARGET_OS_XR
#if !CLS_TARGET_OS_VISION
if (FIRCLSBinaryImageMachOSliceInitSectionByName(&details->slice, SEG_DATA, "__crash_info",
&section)) {
details->node.crashInfo = (void*)(section.addr + details->vmaddr_slide);
Expand Down
16 changes: 8 additions & 8 deletions Crashlytics/Crashlytics/Controllers/FIRCLSNotificationManager.m
Original file line number Diff line number Diff line change
Expand Up @@ -39,7 +39,7 @@ - (void)registerNotificationListener {
selector:@selector(didBecomeInactive:)
name:UIApplicationDidEnterBackgroundNotification
object:nil];
#if !CLS_TARGET_OS_XR
#if !CLS_TARGET_OS_VISION
[[NSNotificationCenter defaultCenter] addObserver:self
selector:@selector(didChangeOrientation:)
name:UIDeviceOrientationDidChangeNotification
Expand All @@ -53,7 +53,7 @@ - (void)registerNotificationListener {
name:UIApplicationDidChangeStatusBarOrientationNotification
object:nil];
#pragma clang diagnostic pop
#endif // !CLS_TARGET_OS_XR
#endif // !CLS_TARGET_OS_VISION

#elif CLS_TARGET_OS_OSX
[[NSNotificationCenter defaultCenter] addObserver:self
Expand All @@ -68,22 +68,22 @@ - (void)registerNotificationListener {
}

- (void)captureInitialNotificationStates {
#if TARGET_OS_IOS && (!CLS_TARGET_OS_XR)
#if TARGET_OS_IOS && (!CLS_TARGET_OS_VISION)
UIDeviceOrientation orientation = [[UIDevice currentDevice] orientation];
UIInterfaceOrientation statusBarOrientation =
[FIRCLSApplicationSharedInstance() statusBarOrientation];
#endif // TARGET_OS_IOS && (!CLS_TARGET_OS_XR)
#endif // TARGET_OS_IOS && (!CLS_TARGET_OS_VISION)

// It's nice to do this async, so we don't hold up the main thread while doing three
// consecutive IOs here.
dispatch_async(FIRCLSGetLoggingQueue(), ^{
FIRCLSUserLoggingWriteInternalKeyValue(FIRCLSInBackgroundKey, @"0");
#if TARGET_OS_IOS && (!CLS_TARGET_OS_XR)
#if TARGET_OS_IOS && (!CLS_TARGET_OS_VISION)
FIRCLSUserLoggingWriteInternalKeyValue(FIRCLSDeviceOrientationKey,
[@(orientation) description]);
FIRCLSUserLoggingWriteInternalKeyValue(FIRCLSUIOrientationKey,
[@(statusBarOrientation) description]);
#endif // TARGET_OS_IOS && (!CLS_TARGET_OS_XR)
#endif // TARGET_OS_IOS && (!CLS_TARGET_OS_VISION)
});
}

Expand All @@ -95,7 +95,7 @@ - (void)didBecomeInactive:(NSNotification *)notification {
FIRCLSUserLoggingRecordInternalKeyValue(FIRCLSInBackgroundKey, @YES);
}

#if TARGET_OS_IOS && (!CLS_TARGET_OS_XR)
#if TARGET_OS_IOS && (!CLS_TARGET_OS_VISION)
- (void)didChangeOrientation:(NSNotification *)notification {
UIDeviceOrientation orientation = [[UIDevice currentDevice] orientation];

Expand All @@ -108,6 +108,6 @@ - (void)didChangeUIOrientation:(NSNotification *)notification {

FIRCLSUserLoggingRecordInternalKeyValue(FIRCLSUIOrientationKey, @(statusBarOrientation));
}
#endif // TARGET_OS_IOS && (!CLS_TARGET_OS_XR)
#endif // TARGET_OS_IOS && (!CLS_TARGET_OS_VISION)

@end
6 changes: 3 additions & 3 deletions Crashlytics/Crashlytics/Helpers/FIRCLSDefines.h
Original file line number Diff line number Diff line change
Expand Up @@ -58,10 +58,10 @@
#endif

// VisionOS support
#if defined(TARGET_OS_XR) && TARGET_OS_XR
#define CLS_TARGET_OS_XR 1
#if defined(TARGET_OS_VISION) && TARGET_OS_VISION
#define CLS_TARGET_OS_VISION 1
#else
#define CLS_TARGET_OS_XR 0
#define CLS_TARGET_OS_VISION 0
#endif

#if defined(__arm__)
Expand Down
4 changes: 2 additions & 2 deletions Crashlytics/Shared/FIRCLSMachO/FIRCLSMachO.m
Original file line number Diff line number Diff line change
Expand Up @@ -267,7 +267,7 @@ struct FIRCLSMachOSlice FIRCLSMachOSliceGetCurrent(void) {
void* executableSymbol;
Dl_info dlinfo;

#if !CLS_TARGET_OS_XR
#if !CLS_TARGET_OS_VISION
const NXArchInfo* archInfo;
archInfo = NXGetLocalArchInfo();

Expand Down Expand Up @@ -342,7 +342,7 @@ struct FIRCLSMachOSlice FIRCLSMachOSliceWithHeader(void* machHeader) {
return "armv7k";
}

#if !CLS_TARGET_OS_XR
#if !CLS_TARGET_OS_VISION
const NXArchInfo* archInfo;

archInfo = NXGetArchInfoFromCpuType(slice->cputype, slice->cpusubtype);
Expand Down
4 changes: 2 additions & 2 deletions Crashlytics/UnitTests/FIRCLSMachO/FIRCLSMachOTests.m
Original file line number Diff line number Diff line change
Expand Up @@ -317,7 +317,7 @@ - (void)testReadArmv7kSection {
XCTAssert(ptr != NULL);
}

#if !CLS_TARGET_OS_XR
#if !CLS_TARGET_OS_VISION
- (void)testReadArm64Section {
NSString* path = [[self resourcePath] stringByAppendingPathComponent:@"armv7-armv7s-arm64.dylib"];
struct FIRCLSMachOFile file;
Expand All @@ -340,7 +340,7 @@ - (void)testReadArm64Section {
}
#endif

#if CLS_TARGET_OS_XR
#if CLS_TARGET_OS_VISION

- (void)testVisionProGetSlice {
struct FIRCLSMachOSlice slice = FIRCLSMachOSliceGetCurrent();
Expand Down
12 changes: 6 additions & 6 deletions FirebaseAuth/Sources/Auth/FIRAuth.m
Original file line number Diff line number Diff line change
Expand Up @@ -475,9 +475,9 @@ - (instancetype)initWithApp:(FIRApp *)app {
appCheck:FIR_COMPONENT(FIRAppCheckInterop, app.container)];
if (self) {
_app = app;
#if TARGET_OS_IOS && (!defined(TARGET_OS_XR) || !TARGET_OS_XR)
#if TARGET_OS_IOS && (!defined(TARGET_OS_VISION) || !TARGET_OS_VISION)
_authURLPresenter = [[FIRAuthURLPresenter alloc] init];
#endif // TARGET_OS_IOS && (!defined(TARGET_OS_XR) || !TARGET_OS_XR)
#endif // TARGET_OS_IOS && (!defined(TARGET_OS_VISION) || !TARGET_OS_VISION)
}
return self;
}
Expand Down Expand Up @@ -654,7 +654,7 @@ - (nullable FIRUser *)currentUser {
- (void)signInWithProvider:(id<FIRFederatedAuthProvider>)provider
UIDelegate:(nullable id<FIRAuthUIDelegate>)UIDelegate
completion:(nullable FIRAuthDataResultCallback)completion {
#if TARGET_OS_IOS && (!defined(TARGET_OS_XR) || !TARGET_OS_XR)
#if TARGET_OS_IOS && (!defined(TARGET_OS_VISION) || !TARGET_OS_VISION)
dispatch_async(FIRAuthGlobalWorkQueue(), ^{
FIRAuthDataResultCallback decoratedCallback =
[self signInFlowAuthDataResultCallbackByDecoratingCallback:completion];
Expand All @@ -671,7 +671,7 @@ - (void)signInWithProvider:(id<FIRFederatedAuthProvider>)provider
callback:decoratedCallback];
}];
});
#endif // TARGET_OS_IOS && (!defined(TARGET_OS_XR) || !TARGET_OS_XR)
#endif // TARGET_OS_IOS && (!defined(TARGET_OS_VISION) || !TARGET_OS_VISION)
}

- (void)fetchSignInMethodsForEmail:(nonnull NSString *)email
Expand Down Expand Up @@ -1875,11 +1875,11 @@ - (BOOL)canHandleNotification:(NSDictionary *)userInfo {

- (BOOL)canHandleURL:(NSURL *)URL {
__block BOOL result = NO;
#if TARGET_OS_IOS && (!defined(TARGET_OS_XR) || !TARGET_OS_XR)
#if TARGET_OS_IOS && (!defined(TARGET_OS_VISION) || !TARGET_OS_VISION)
dispatch_sync(FIRAuthGlobalWorkQueue(), ^{
result = [self->_authURLPresenter canHandleURL:URL];
});
#endif // TARGET_OS_IOS && (!defined(TARGET_OS_XR) || !TARGET_OS_XR)
#endif // TARGET_OS_IOS && (!defined(TARGET_OS_VISION) || !TARGET_OS_VISION)
return result;
}

Expand Down
4 changes: 2 additions & 2 deletions FirebaseAuth/Sources/AuthProvider/OAuth/FIROAuthProvider.m
Original file line number Diff line number Diff line change
Expand Up @@ -149,7 +149,7 @@ + (instancetype)providerWithProviderID:(NSString *)providerID auth:(FIRAuth *)au
return [[self alloc] initWithProviderID:providerID auth:auth];
}

#if TARGET_OS_IOS && (!defined(TARGET_OS_XR) || !TARGET_OS_XR)
#if TARGET_OS_IOS && (!defined(TARGET_OS_VISION) || !TARGET_OS_VISION)
- (void)getCredentialWithUIDelegate:(nullable id<FIRAuthUIDelegate>)UIDelegate
completion:(nullable FIRAuthCredentialCallback)completion {
if (![FIRAuthWebUtils isCallbackSchemeRegisteredForCustomURLScheme:self->_callbackScheme]) {
Expand Down Expand Up @@ -216,7 +216,7 @@ - (void)getCredentialWithUIDelegate:(nullable id<FIRAuthUIDelegate>)UIDelegate
}];
});
}
#endif // TARGET_OS_IOS && (!defined(TARGET_OS_XR) || !TARGET_OS_XR)
#endif // TARGET_OS_IOS && (!defined(TARGET_OS_VISION) || !TARGET_OS_VISION)

#pragma mark - Internal Methods

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@
*/

#import <TargetConditionals.h>
#if TARGET_OS_IOS && (!defined(TARGET_OS_XR) || !TARGET_OS_XR)
#if TARGET_OS_IOS && (!defined(TARGET_OS_VISION) || !TARGET_OS_VISION)

#import "FirebaseAuth/Sources/Public/FirebaseAuth/FIRAuthSettings.h"
#import "FirebaseAuth/Sources/Public/FirebaseAuth/FIRMultiFactorResolver.h"
Expand Down Expand Up @@ -789,4 +789,4 @@ - (void)reCAPTCHAURLWithEventID:(NSString *)eventID completion:(FIRReCAPTCHAURLC

NS_ASSUME_NONNULL_END

#endif // TARGET_OS_IOS && (!defined(TARGET_OS_XR) || !TARGET_OS_XR)
#endif // TARGET_OS_IOS && (!defined(TARGET_OS_VISION) || !TARGET_OS_VISION)
Original file line number Diff line number Diff line change
Expand Up @@ -50,10 +50,10 @@ typedef void (^FIRAuthCredentialCallback)(FIRAuthCredential *_Nullable credentia
API_UNAVAILABLE(macos,
tvos,
watchos
#if defined(TARGET_OS_XR)
#if defined(TARGET_OS_VISION)
,
xros
#endif // defined(TARGET_OS_XR)
visionos
#endif // defined(TARGET_OS_VISION)
);

@end
Expand Down
4 changes: 2 additions & 2 deletions FirebaseAuth/Sources/SystemService/FIRAuthAPNSTokenManager.m
Original file line number Diff line number Diff line change
Expand Up @@ -79,9 +79,9 @@ - (void)getTokenWithCallback:(FIRAuthAPNSTokenCallback)callback {
} else {
#pragma clang diagnostic push
#pragma clang diagnostic ignored "-Wdeprecated-declarations"
#if TARGET_OS_IOS && (!defined(TARGET_OS_XR) || !TARGET_OS_XR)
#if TARGET_OS_IOS && (!defined(TARGET_OS_VISION) || !TARGET_OS_VISION)
[self->_application registerForRemoteNotificationTypes:UIRemoteNotificationTypeAlert];
#endif // TARGET_OS_IOS && (!defined(TARGET_OS_XR) || !TARGET_OS_XR)
#endif // TARGET_OS_IOS && (!defined(TARGET_OS_VISION) || !TARGET_OS_VISION)
#pragma clang diagnostic pop
}
});
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -115,7 +115,7 @@ - (void)checkNotificationForwardingWithCallback:(FIRAuthNotificationForwardingCa
didReceiveRemoteNotification:proberNotification
fetchCompletionHandler:^(UIBackgroundFetchResult result){
}];
#if !TARGET_OS_TV && (!defined(TARGET_OS_XR) || !TARGET_OS_XR)
#if !TARGET_OS_TV && (!defined(TARGET_OS_VISION) || !TARGET_OS_VISION)
} else if ([self->_application.delegate
respondsToSelector:@selector(application:didReceiveRemoteNotification:)]) {
// iOS 10 deprecation
Expand All @@ -124,7 +124,7 @@ - (void)checkNotificationForwardingWithCallback:(FIRAuthNotificationForwardingCa
[self->_application.delegate application:self->_application
didReceiveRemoteNotification:proberNotification];
#pragma clang diagnostic pop
#endif // !TARGET_OS_TV && (!defined(TARGET_OS_XR) || !TARGET_OS_XR)
#endif // !TARGET_OS_TV && (!defined(TARGET_OS_VISION) || !TARGET_OS_VISION)
} else {
FIRLogWarning(kFIRLoggerAuth, @"I-AUT000015",
@"The UIApplicationDelegate must handle remote notification for phone number "
Expand Down
8 changes: 4 additions & 4 deletions FirebaseAuth/Sources/User/FIRUser.m
Original file line number Diff line number Diff line change
Expand Up @@ -850,7 +850,7 @@ - (void)reauthenticateWithCredential:(FIRAuthCredential *)credential
- (void)reauthenticateWithProvider:(id<FIRFederatedAuthProvider>)provider
UIDelegate:(nullable id<FIRAuthUIDelegate>)UIDelegate
completion:(nullable FIRAuthDataResultCallback)completion {
#if TARGET_OS_IOS && (!defined(TARGET_OS_XR) || !TARGET_OS_XR)
#if TARGET_OS_IOS && (!defined(TARGET_OS_VISION) || !TARGET_OS_VISION)
dispatch_async(FIRAuthGlobalWorkQueue(), ^{
[provider getCredentialWithUIDelegate:UIDelegate
completion:^(FIRAuthCredential *_Nullable credential,
Expand All @@ -863,7 +863,7 @@ - (void)reauthenticateWithProvider:(id<FIRFederatedAuthProvider>)provider
completion:completion];
}];
});
#endif // TARGET_OS_IOS && (!defined(TARGET_OS_XR) || !TARGET_OS_XR)
#endif // TARGET_OS_IOS && (!defined(TARGET_OS_VISION) || !TARGET_OS_VISION)
}

- (nullable NSString *)refreshToken {
Expand Down Expand Up @@ -1339,7 +1339,7 @@ - (void)linkWithCredential:(FIRAuthCredential *)credential
- (void)linkWithProvider:(id<FIRFederatedAuthProvider>)provider
UIDelegate:(nullable id<FIRAuthUIDelegate>)UIDelegate
completion:(nullable FIRAuthDataResultCallback)completion {
#if TARGET_OS_IOS && (!defined(TARGET_OS_XR) || !TARGET_OS_XR)
#if TARGET_OS_IOS && (!defined(TARGET_OS_VISION) || !TARGET_OS_VISION)
dispatch_async(FIRAuthGlobalWorkQueue(), ^{
[provider getCredentialWithUIDelegate:UIDelegate
completion:^(FIRAuthCredential *_Nullable credential,
Expand All @@ -1351,7 +1351,7 @@ - (void)linkWithProvider:(id<FIRFederatedAuthProvider>)provider
[self linkWithCredential:credential completion:completion];
}];
});
#endif // TARGET_OS_IOS && (!defined(TARGET_OS_XR) || !TARGET_OS_XR)
#endif // TARGET_OS_IOS && (!defined(TARGET_OS_VISION) || !TARGET_OS_VISION)
}

- (void)unlinkFromProvider:(NSString *)provider
Expand Down
4 changes: 2 additions & 2 deletions FirebaseAuth/Sources/Utilities/FIRAuthDefaultUIDelegate.m
Original file line number Diff line number Diff line change
Expand Up @@ -91,14 +91,14 @@ - (void)dismissViewControllerAnimated:(BOOL)flag completion:(nullable void (^)(v
}
}
} else {
#if TARGET_OS_IOS && (!defined(TARGET_OS_XR) || !TARGET_OS_XR)
#if TARGET_OS_IOS && (!defined(TARGET_OS_VISION) || !TARGET_OS_VISION)
UIApplication *application = [applicationClass sharedApplication];
// iOS 13 deprecation
#pragma clang diagnostic push
#pragma clang diagnostic ignored "-Wdeprecated-declarations"
topViewController = application.keyWindow.rootViewController;
#pragma clang diagnostic pop
#endif // TARGET_OS_IOS && (!defined(TARGET_OS_XR) || !TARGET_OS_XR)
#endif // TARGET_OS_IOS && (!defined(TARGET_OS_VISION) || !TARGET_OS_VISION)
}
#else
UIApplication *application = [applicationClass sharedApplication];
Expand Down
4 changes: 2 additions & 2 deletions FirebaseAuth/Sources/Utilities/FIRAuthURLPresenter.h
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@
*/

#import <TargetConditionals.h>
#if TARGET_OS_IOS && (!defined(TARGET_OS_XR) || !TARGET_OS_XR)
#if TARGET_OS_IOS && (!defined(TARGET_OS_VISION) || !TARGET_OS_VISION)

#import <Foundation/Foundation.h>

Expand Down Expand Up @@ -66,4 +66,4 @@ typedef BOOL (^FIRAuthURLCallbackMatcher)(NSURL *_Nullable callbackURL);

NS_ASSUME_NONNULL_END

#endif // TARGET_OS_IOS && (!defined(TARGET_OS_XR) || !TARGET_OS_XR)
#endif // TARGET_OS_IOS && (!defined(TARGET_OS_VISION) || !TARGET_OS_VISION)
4 changes: 2 additions & 2 deletions FirebaseAuth/Sources/Utilities/FIRAuthURLPresenter.m
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@
*/

#import <TargetConditionals.h>
#if TARGET_OS_IOS && (!defined(TARGET_OS_XR) || !TARGET_OS_XR)
#if TARGET_OS_IOS && (!defined(TARGET_OS_VISION) || !TARGET_OS_VISION)

#import <SafariServices/SafariServices.h>
#import "FirebaseAuth/Sources/Public/FirebaseAuth/FIRAuthUIDelegate.h"
Expand Down Expand Up @@ -205,4 +205,4 @@ - (void)finishPresentationWithURL:(nullable NSURL *)URL error:(nullable NSError

NS_ASSUME_NONNULL_END

#endif // TARGET_OS_IOS && (!defined(TARGET_OS_XR) || !TARGET_OS_XR)
#endif // TARGET_OS_IOS && (!defined(TARGET_OS_VISION) || !TARGET_OS_VISION)
4 changes: 2 additions & 2 deletions FirebaseAuth/Sources/Utilities/FIRAuthWebView.h
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@
*/

#import <TargetConditionals.h>
#if TARGET_OS_IOS && (!defined(TARGET_OS_XR) || !TARGET_OS_XR)
#if TARGET_OS_IOS && (!defined(TARGET_OS_VISION) || !TARGET_OS_VISION)

#import <UIKit/UIKit.h>
#import <WebKit/WebKit.h>
Expand All @@ -41,4 +41,4 @@ NS_ASSUME_NONNULL_BEGIN

NS_ASSUME_NONNULL_END

#endif // TARGET_OS_IOS && (!defined(TARGET_OS_XR) || !TARGET_OS_XR)
#endif // TARGET_OS_IOS && (!defined(TARGET_OS_VISION) || !TARGET_OS_VISION)
4 changes: 2 additions & 2 deletions FirebaseAuth/Sources/Utilities/FIRAuthWebView.m
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@
*/

#import <TargetConditionals.h>
#if TARGET_OS_IOS && (!defined(TARGET_OS_XR) || !TARGET_OS_XR)
#if TARGET_OS_IOS && (!defined(TARGET_OS_VISION) || !TARGET_OS_VISION)

#import "FirebaseAuth/Sources/Utilities/FIRAuthWebView.h"

Expand Down Expand Up @@ -101,4 +101,4 @@ - (UIActivityIndicatorView *)createSpinner {

NS_ASSUME_NONNULL_END

#endif // TARGET_OS_IOS && (!defined(TARGET_OS_XR) || !TARGET_OS_XR)
#endif // TARGET_OS_IOS && (!defined(TARGET_OS_VISION) || !TARGET_OS_VISION)
4 changes: 2 additions & 2 deletions FirebaseAuth/Sources/Utilities/FIRAuthWebViewController.m
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@
*/

#import <TargetConditionals.h>
#if TARGET_OS_IOS && (!defined(TARGET_OS_XR) || !TARGET_OS_XR)
#if TARGET_OS_IOS && (!defined(TARGET_OS_VISION) || !TARGET_OS_VISION)

#import "FirebaseAuth/Sources/Utilities/FIRAuthWebView.h"
#import "FirebaseAuth/Sources/Utilities/FIRAuthWebViewController.h"
Expand Down Expand Up @@ -115,4 +115,4 @@ - (void)webView:(WKWebView *)webView

NS_ASSUME_NONNULL_END

#endif // TARGET_OS_IOS && (!defined(TARGET_OS_XR) || !TARGET_OS_XR)
#endif // TARGET_OS_IOS && (!defined(TARGET_OS_VISION) || !TARGET_OS_VISION)
Loading

0 comments on commit e740072

Please sign in to comment.