Does Google Sign In API work in MacOS Cocoa apps?Installing Google Maps/Places API Cocoa pod on iOS. How?iOS Google Sign-in fetching user profile picture impossible?(NOT Google plus sign-in)Apple LLVM Error after trying to add google sign inTerminating app due to uncaught exception 'NSInvalidArgumentException' - ios google sign inWhy hasAuthInKeychain() not always returns true while signing in a user with his google account to my Swift app?iOS - Issue with Google Sign-In librarySign-in to my app using Google also signs in user to Google services like gmailGoogle sign out inGoogle Sign In Not Working with YouTubeGoogle signing is signing in automatically, also right after log out. swift 4
Can a rocket refuel on Mars from water?
Why is consensus so controversial in Britain?
Do I have a twin with permutated remainders?
What is the word for reserving something for yourself before others do?
Is it possible to download Internet Explorer on my Mac running OS X El Capitan?
How can I tell someone that I want to be his or her friend?
How can saying a song's name be a copyright violation?
Combinations of multiple lists
Is it legal for company to use my work email to pretend I still work there?
What reasons are there for a Capitalist to oppose a 100% inheritance tax?
SSH "lag" in LAN on some machines, mixed distros
How could indestructible materials be used in power generation?
How can I prevent hyper evolved versions of regular creatures from wiping out their cousins?
Doing something right before you need it - expression for this?
intersection of two sorted vectors in C++
Western buddy movie with a supernatural twist where a woman turns into an eagle at the end
Were any external disk drives stacked vertically?
If human space travel is limited by the G force vulnerability, is there a way to counter G forces?
Etiquette around loan refinance - decision is going to cost first broker a lot of money
prove that the matrix A is diagonalizable
Did Shadowfax go to Valinor?
Why is Collection not simply treated as Collection<?>
In Romance of the Three Kingdoms why do people still use bamboo sticks when papers are already invented?
Can I use a neutral wire from another outlet to repair a broken neutral?
Does Google Sign In API work in MacOS Cocoa apps?
Installing Google Maps/Places API Cocoa pod on iOS. How?iOS Google Sign-in fetching user profile picture impossible?(NOT Google plus sign-in)Apple LLVM Error after trying to add google sign inTerminating app due to uncaught exception 'NSInvalidArgumentException' - ios google sign inWhy hasAuthInKeychain() not always returns true while signing in a user with his google account to my Swift app?iOS - Issue with Google Sign-In librarySign-in to my app using Google also signs in user to Google services like gmailGoogle sign out inGoogle Sign In Not Working with YouTubeGoogle signing is signing in automatically, also right after log out. swift 4
.everyoneloves__top-leaderboard:empty,.everyoneloves__mid-leaderboard:empty,.everyoneloves__bot-mid-leaderboard:empty height:90px;width:728px;box-sizing:border-box;
I think the biggest difference between iOS and MacOS development that I'm concerned with here is UIKit. In the Google Developer's site, all the swift code looks like it's pointed towards an iOS application and not a MacOS one. I'm trying to implement a simple Google sign in that, at its most basic level of functionality, can display the Google user's profile picture, for example. After several searches that didn't yield the results I was looking for, I was wondering if the swift code provided is plug and play with a Cocoa app or if the code is just incompatible with a macOS app.
Edit: To be more concrete, the thing that I've tried was adding Google SignIn to my Podfile, expecting to begin trying to see if the API would work, but when I ran pod install, I was already stopped with an error saying that Google SignIn isn't supported. Am I missing something here or is there simply no way to integrate a Google sign in into a macOS app?
Thanks!
swift cocoa google-signin googlesigninapi
|
show 1 more comment
I think the biggest difference between iOS and MacOS development that I'm concerned with here is UIKit. In the Google Developer's site, all the swift code looks like it's pointed towards an iOS application and not a MacOS one. I'm trying to implement a simple Google sign in that, at its most basic level of functionality, can display the Google user's profile picture, for example. After several searches that didn't yield the results I was looking for, I was wondering if the swift code provided is plug and play with a Cocoa app or if the code is just incompatible with a macOS app.
Edit: To be more concrete, the thing that I've tried was adding Google SignIn to my Podfile, expecting to begin trying to see if the API would work, but when I ran pod install, I was already stopped with an error saying that Google SignIn isn't supported. Am I missing something here or is there simply no way to integrate a Google sign in into a macOS app?
Thanks!
swift cocoa google-signin googlesigninapi
1
What's stopping you from creating a test application and see if it works?
– El Tomato
Mar 9 at 0:29
Where is the code you have problems with? Have you checked your pod if it supports iOS and OSX together?
– Marek H
Mar 9 at 7:59
@ElTomato Right, so that's what I did, as I described in the second paragraph of my question.
– danwroteit
Mar 10 at 2:34
@MarekH The pod does not support OSX, so that's where I'm stuck. I'd like to integrate Google SignIn functionality but the normal iOS swift pod isn't what I need here.To put it in another way, I'm looking for a workaround to the lack of macOS support in this pod.
– danwroteit
Mar 10 at 2:37
None of the iOS google libraries is supported on the macOS, shame to google. Your simplest way is to do oath. github.com/google/GTMAppAuth
– Marek H
Mar 10 at 8:51
|
show 1 more comment
I think the biggest difference between iOS and MacOS development that I'm concerned with here is UIKit. In the Google Developer's site, all the swift code looks like it's pointed towards an iOS application and not a MacOS one. I'm trying to implement a simple Google sign in that, at its most basic level of functionality, can display the Google user's profile picture, for example. After several searches that didn't yield the results I was looking for, I was wondering if the swift code provided is plug and play with a Cocoa app or if the code is just incompatible with a macOS app.
Edit: To be more concrete, the thing that I've tried was adding Google SignIn to my Podfile, expecting to begin trying to see if the API would work, but when I ran pod install, I was already stopped with an error saying that Google SignIn isn't supported. Am I missing something here or is there simply no way to integrate a Google sign in into a macOS app?
Thanks!
swift cocoa google-signin googlesigninapi
I think the biggest difference between iOS and MacOS development that I'm concerned with here is UIKit. In the Google Developer's site, all the swift code looks like it's pointed towards an iOS application and not a MacOS one. I'm trying to implement a simple Google sign in that, at its most basic level of functionality, can display the Google user's profile picture, for example. After several searches that didn't yield the results I was looking for, I was wondering if the swift code provided is plug and play with a Cocoa app or if the code is just incompatible with a macOS app.
Edit: To be more concrete, the thing that I've tried was adding Google SignIn to my Podfile, expecting to begin trying to see if the API would work, but when I ran pod install, I was already stopped with an error saying that Google SignIn isn't supported. Am I missing something here or is there simply no way to integrate a Google sign in into a macOS app?
Thanks!
swift cocoa google-signin googlesigninapi
swift cocoa google-signin googlesigninapi
edited Mar 9 at 9:32
Kaushik Makwana
960623
960623
asked Mar 8 at 23:23
danwroteitdanwroteit
11
11
1
What's stopping you from creating a test application and see if it works?
– El Tomato
Mar 9 at 0:29
Where is the code you have problems with? Have you checked your pod if it supports iOS and OSX together?
– Marek H
Mar 9 at 7:59
@ElTomato Right, so that's what I did, as I described in the second paragraph of my question.
– danwroteit
Mar 10 at 2:34
@MarekH The pod does not support OSX, so that's where I'm stuck. I'd like to integrate Google SignIn functionality but the normal iOS swift pod isn't what I need here.To put it in another way, I'm looking for a workaround to the lack of macOS support in this pod.
– danwroteit
Mar 10 at 2:37
None of the iOS google libraries is supported on the macOS, shame to google. Your simplest way is to do oath. github.com/google/GTMAppAuth
– Marek H
Mar 10 at 8:51
|
show 1 more comment
1
What's stopping you from creating a test application and see if it works?
– El Tomato
Mar 9 at 0:29
Where is the code you have problems with? Have you checked your pod if it supports iOS and OSX together?
– Marek H
Mar 9 at 7:59
@ElTomato Right, so that's what I did, as I described in the second paragraph of my question.
– danwroteit
Mar 10 at 2:34
@MarekH The pod does not support OSX, so that's where I'm stuck. I'd like to integrate Google SignIn functionality but the normal iOS swift pod isn't what I need here.To put it in another way, I'm looking for a workaround to the lack of macOS support in this pod.
– danwroteit
Mar 10 at 2:37
None of the iOS google libraries is supported on the macOS, shame to google. Your simplest way is to do oath. github.com/google/GTMAppAuth
– Marek H
Mar 10 at 8:51
1
1
What's stopping you from creating a test application and see if it works?
– El Tomato
Mar 9 at 0:29
What's stopping you from creating a test application and see if it works?
– El Tomato
Mar 9 at 0:29
Where is the code you have problems with? Have you checked your pod if it supports iOS and OSX together?
– Marek H
Mar 9 at 7:59
Where is the code you have problems with? Have you checked your pod if it supports iOS and OSX together?
– Marek H
Mar 9 at 7:59
@ElTomato Right, so that's what I did, as I described in the second paragraph of my question.
– danwroteit
Mar 10 at 2:34
@ElTomato Right, so that's what I did, as I described in the second paragraph of my question.
– danwroteit
Mar 10 at 2:34
@MarekH The pod does not support OSX, so that's where I'm stuck. I'd like to integrate Google SignIn functionality but the normal iOS swift pod isn't what I need here.To put it in another way, I'm looking for a workaround to the lack of macOS support in this pod.
– danwroteit
Mar 10 at 2:37
@MarekH The pod does not support OSX, so that's where I'm stuck. I'd like to integrate Google SignIn functionality but the normal iOS swift pod isn't what I need here.To put it in another way, I'm looking for a workaround to the lack of macOS support in this pod.
– danwroteit
Mar 10 at 2:37
None of the iOS google libraries is supported on the macOS, shame to google. Your simplest way is to do oath. github.com/google/GTMAppAuth
– Marek H
Mar 10 at 8:51
None of the iOS google libraries is supported on the macOS, shame to google. Your simplest way is to do oath. github.com/google/GTMAppAuth
– Marek H
Mar 10 at 8:51
|
show 1 more comment
0
active
oldest
votes
Your Answer
StackExchange.ifUsing("editor", function ()
StackExchange.using("externalEditor", function ()
StackExchange.using("snippets", function ()
StackExchange.snippets.init();
);
);
, "code-snippets");
StackExchange.ready(function()
var channelOptions =
tags: "".split(" "),
id: "1"
;
initTagRenderer("".split(" "), "".split(" "), channelOptions);
StackExchange.using("externalEditor", function()
// Have to fire editor after snippets, if snippets enabled
if (StackExchange.settings.snippets.snippetsEnabled)
StackExchange.using("snippets", function()
createEditor();
);
else
createEditor();
);
function createEditor()
StackExchange.prepareEditor(
heartbeatType: 'answer',
autoActivateHeartbeat: false,
convertImagesToLinks: true,
noModals: true,
showLowRepImageUploadWarning: true,
reputationToPostImages: 10,
bindNavPrevention: true,
postfix: "",
imageUploader:
brandingHtml: "Powered by u003ca class="icon-imgur-white" href="https://imgur.com/"u003eu003c/au003e",
contentPolicyHtml: "User contributions licensed under u003ca href="https://creativecommons.org/licenses/by-sa/3.0/"u003ecc by-sa 3.0 with attribution requiredu003c/au003e u003ca href="https://stackoverflow.com/legal/content-policy"u003e(content policy)u003c/au003e",
allowUrls: true
,
onDemand: true,
discardSelector: ".discard-answer"
,immediatelyShowMarkdownHelp:true
);
);
Sign up or log in
StackExchange.ready(function ()
StackExchange.helpers.onClickDraftSave('#login-link');
);
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Required, but never shown
StackExchange.ready(
function ()
StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2fstackoverflow.com%2fquestions%2f55072360%2fdoes-google-sign-in-api-work-in-macos-cocoa-apps%23new-answer', 'question_page');
);
Post as a guest
Required, but never shown
0
active
oldest
votes
0
active
oldest
votes
active
oldest
votes
active
oldest
votes
Thanks for contributing an answer to Stack Overflow!
- Please be sure to answer the question. Provide details and share your research!
But avoid …
- Asking for help, clarification, or responding to other answers.
- Making statements based on opinion; back them up with references or personal experience.
To learn more, see our tips on writing great answers.
Sign up or log in
StackExchange.ready(function ()
StackExchange.helpers.onClickDraftSave('#login-link');
);
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Required, but never shown
StackExchange.ready(
function ()
StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2fstackoverflow.com%2fquestions%2f55072360%2fdoes-google-sign-in-api-work-in-macos-cocoa-apps%23new-answer', 'question_page');
);
Post as a guest
Required, but never shown
Sign up or log in
StackExchange.ready(function ()
StackExchange.helpers.onClickDraftSave('#login-link');
);
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Required, but never shown
Sign up or log in
StackExchange.ready(function ()
StackExchange.helpers.onClickDraftSave('#login-link');
);
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Required, but never shown
Sign up or log in
StackExchange.ready(function ()
StackExchange.helpers.onClickDraftSave('#login-link');
);
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown
1
What's stopping you from creating a test application and see if it works?
– El Tomato
Mar 9 at 0:29
Where is the code you have problems with? Have you checked your pod if it supports iOS and OSX together?
– Marek H
Mar 9 at 7:59
@ElTomato Right, so that's what I did, as I described in the second paragraph of my question.
– danwroteit
Mar 10 at 2:34
@MarekH The pod does not support OSX, so that's where I'm stuck. I'd like to integrate Google SignIn functionality but the normal iOS swift pod isn't what I need here.To put it in another way, I'm looking for a workaround to the lack of macOS support in this pod.
– danwroteit
Mar 10 at 2:37
None of the iOS google libraries is supported on the macOS, shame to google. Your simplest way is to do oath. github.com/google/GTMAppAuth
– Marek H
Mar 10 at 8:51