GTMAppAuth icon indicating copy to clipboard operation
GTMAppAuth copied to clipboard

Safari don't open my mac app because it have ever open your example app.

Open aogufeixue opened this issue 7 years ago • 4 comments

After i test with the "URL types" from your Example-macOS, i succeeded to login. But after i set the same ClientID, ClientSecret and "URL types" to my project, Safari don't open my app, where i have clean all Example-macOS apps and safari history. I wonder is there any suggestions? macOS 10.13.6, Safari 12.0.3. GTMAppAuth-Version 0.7.1 Screen Shot 2019-03-14 at 11 07 04 AM

aogufeixue avatar Mar 14 '19 03:03 aogufeixue

I found that i need to copy my app to desktop to run it firstly, then delete it and back to xcode buildings, it works, clear opening url history. Now safari don't refuse to open my mac app now.

aogufeixue avatar Mar 14 '19 03:03 aogufeixue

Same problem in Mojave. Both Chrome and Safari.

johnothwolo avatar Apr 06 '19 20:04 johnothwolo

for me, it works on Chrome but not Safari. Anybody know how to fix this for Safari?

nguyen-tam avatar Apr 11 '20 07:04 nguyen-tam

The solution is Shift + Cmd + K then run again. Here is the detail instruction : https://uynguyen.github.io/2019/12/11/Integrate-Google-Sign-In-on-MacOS-App-in-Swift/

nguyen-tam avatar Apr 12 '20 07:04 nguyen-tam