当前位置: 动力学知识库 > 问答 > 编程问答 >

ios - How to install CocoaPods needed for Google Sign-In Cordova/PhoneGap Plugin

问题描述:

I want to use Google Sign-In Cordova/PhoneGap Plugin provided at cordova community in ios. During installation on mac it ask for CocoaPods pod file.There is a doc to install google sdk with cocoa pods(https://developers.google.com/ios/guides/cocoapods).But not able to run app with above plugin.

网友答案:

I use Google Sign-In SDK. Did you check you create pod file in your project? You can make pod file $ cd /project/pod install. After then, add your dependencies like below

platform :ios, '8.1' target "YourProjectNameHere" do pod 'Google' end

and save them. And open terminal and run $ pod update. Open .xcworkspace file.

分享给朋友:
您可能感兴趣的文章:
随机阅读: