This is a dynamic version of the Google Sign-In framework for iOS that is compatible with Carthage.
- Add this line to your
Cartfile:
github "https://github.com/fabio914/GoogleSignIn-iOS" ~> 4.2
- Update your dependencies:
$ carthage update GoogleSignIn-iOS --platform ios
- Add
GoogleSignIn.framework(atCarthage/Build/iOS) to your project. - Add
GoogleSignIn.framework/GoogleSignIn.bundleto your Xcode project's Copy Bundle Resources build phase. - In the Project > Target > Info > URL Types panel, create a new item and paste your
REVERSED_CLIENT_IDinto the URL Schemes field. You can find yourREVERSED_CLIENT_IDin theGoogleService-Info.plistfile. - Follow these instructions as if you manually installed the SDK.
- XCode 8.3
- iOS 9.3