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 cc589b4 commit e587132Copy full SHA for e587132
GoogleSignIn/Sources/GIDGoogleUser.m
@@ -204,11 +204,11 @@ - (void)addScopes:(NSArray<NSString *> *)scopes
204
}
205
206
[GIDSignIn.sharedInstance addScopes:scopes
207
-#if TARGET_OS_IOS && !TARGET_OS_MACCATALYST
+#if TARGET_OS_IOS || TARGET_OS_MACCATALYST
208
presentingViewController:presentingViewController
209
-#elif TARGET_OS_OSX || TARGET_OS_MACCATALYST
+#elif TARGET_OS_OSX
210
presentingWindow:presentingWindow
211
-#endif // TARGET_OS_IOS && !TARGET_OS_MACCATALYST
+#endif // TARGET_OS_IOS || TARGET_OS_MACCATALYST
212
completion:completion];
213
214
0 commit comments