google / google/GoogleSignIn-iOS

Running with Mac Catalyst doesn't launch browser to sign in.

Abierto
#95 9 comentarios 0 reacciones 0 asignados Ver en GitHub
Lenguaje dominante
Objective-C
Estrellas
750
Forks
282
Merge medio
2 d 15 h
PR fusionados (30 d)
9

Descripción

Hi!

I'm trying to get Google sign-in to work with an iOS app + Mac Catalyst, but the Safari browser never launches on macOS in order to actually perform the sign-in. The same project works fine on an iPad simulator.

**Modified Sample Project**
I have modified the sample project to try this out: https://github.com/LovebugLLC/GoogleSignIn-iOS/commit/c5ca41ffc14fdb978d24175cdda88fc524655dd4

**Steps to reproduce my Sample Project edits**
1. Clone GoogleSignIn-iOS project
2. `open Samples/ObjC/SignInSample/SignInSample.xcodeproj`
3. Wait for Xcode to install dependencies
4. Select "SignInSample" target
5. Go to the "General" tab
6. Add Mac Catalyst app
7. Go to the "Signing & Capabilities" tab
8. Select your Development Team
9. Click "+ Capability", and add "Keychain Sharing"
10. Run scheme `SignInSample -> My Mac (Catalyst)`

**Steps to reproduce the issue, after running the app**
1. Tap "Sign in" and you'll see this screen: Screen Shot 2022-01-29 at 16 08 57
2. Click "Continue"

**Expected results**
Browser launches so I can log in

**Actual results**
No browser shows up

**Other notes**
If I change the run target to an iPad simulator, I am presented with the browser window and login just fine.

Guía de contribución

Abrir la guía de contribución

Evaluación

Este issue todavía no se ha evaluado.

Recibe los nuevos issues en tu correo

Un resumen breve de issues de GitHub para principiantes.