Interface Builder文件中的未知类GPPSignInButton

Moe*_*eit 2 sign ios google-plus

在我的iOS应用程序中集成google +时,从故事板链接到GPPSignInButton后总是会出现此错误!有什么解决方案吗?

小智 9

按照此页面中的逐行代码 https://developers.google.com/+/mobile/ios/getting-started进行操作, 并使用以下内容更新您的构建设置

-all_load -ObjC 
Run Code Online (Sandbox Code Playgroud)

在其他链接器标志中