google / google/GoogleSignIn-iOS

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

オープン
#95 コメント 9 件 リアクション 0 件 担当者 0 名 GitHub で見る
主要言語
Objective-C
スター
750
フォーク
282
平均マージ
2日 15時間
マージ済み PR(30日)
9

説明

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.

コントリビューションガイド

コントリビューションガイドを開く

評価

この issue はまだ評価されていません。

新しい issue をメールで受け取る

初心者向けの GitHub issue を短くまとめたダイジェスト。