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.bundle
to 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_ID
into the URL Schemes field. You can find yourREVERSED_CLIENT_ID
in theGoogleService-Info.plist
file. - Follow these instructions as if you manually installed the SDK.
- XCode 8.3
- iOS 9.3