We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent eade6df commit dbe49dcCopy full SHA for dbe49dc
GoogleSignIn/Sources/GIDGoogleUser.m
@@ -184,11 +184,11 @@ - (OIDAuthState *) authState{
184
}
185
186
- (void)addScopes:(NSArray<NSString *> *)scopes
187
-#if TARGET_OS_IOS && !TARGET_OS_MACCATALYST
+#if TARGET_OS_IOS || TARGET_OS_MACCATALYST
188
presentingViewController:(UIViewController *)presentingViewController
189
-#elif TARGET_OS_OSX || TARGET_OS_MACCATALYST
+#elif TARGET_OS_OSX
190
presentingWindow:(NSWindow *)presentingWindow
191
-#endif // TARGET_OS_IOS && !TARGET_OS_MACCATALYST
+#endif // TARGET_OS_IOS || TARGET_OS_MACCATALYST
192
completion:(nullable void (^)(GIDUserAuth *_Nullable userAuth,
193
NSError *_Nullable error))completion {
194
if (self != GIDSignIn.sharedInstance.currentUser) {
0 commit comments