thelaws thelaws - 6 months ago 15
iOS Question

Google SignIn without CocoaPods

I am trying to integrate the GoogleSign-In for iOS with the documentation found here: https://developers.google.com/identity/sign-in/ios/start-integrating

How can I do this without using Cocoapods?

I've tried using the libraries and headers that Cocoapods download directly, but this led to many issues.
Has anyone successfully converted a Cocoapod into a standalone library/framework?

Answer

The standalone SDK is available here now: https://developers.google.com/identity/sign-in/ios/sdk/

As mentioned by other posters, you must add the following dependent frameworks:

  • AddressBook.framework
  • StoreKit.framework
  • SystemConfiguration.framework

You may also need to set Other Linker Flags: -ObjC flag in your project's build steps.