Google SignIn没有CocoaPods [英] Google SignIn without CocoaPods
问题描述
我正在尝试将GoogleSign-In for iOS与此处的文档集成: https://developers.google.com/identity/sign-in/ios/start-integrating
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
我该怎么办?这不使用Cocoapods?
我尝试过使用Cocoapods直接下载的库和标题,但这导致了很多问题。
有没有人成功将Cocoapod转换为独立的库/框架?
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?
推荐答案
现在可以在这里找到独立的SDK: https://developers.google.com/identity/sign-in/ios/ sdk /
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
AddressBook.framework
StoreKit.framework
SystemConfiguration.framework
您可能还需要在项目的构建步骤中设置其他链接器标志:-ObjC
标志。
You may also need to set Other Linker Flags: -ObjC
flag in your project's build steps.
这篇关于Google SignIn没有CocoaPods的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!