【问题标题】:How to install Google Api with cocoa pod如何使用可可豆荚安装 Google Api
【发布时间】:2015-12-02 18:29:09
【问题描述】:

我无法使用可可豆荚安装 google api

这是我的豆荚:

platform :ios, '8.0'
use_frameworks!

target 'testGoogleFacebook' do
    pod 'Google-API-Client', '~> 1.0'
    pod 'FBSDKCoreKit'
    pod 'FBSDKLoginKit'
    pod 'FBSDKShareKit'
end

它完美地安装了 Facebook,但使用 Google 我得到了这个:

[!] Error installing Google-API-Client
[!] /usr/local/bin/svn export --non-interactive --trust-server-cert --force http://google-api-objectivec-client.googlecode.com/svn/trunk/ -r 422 /var/folders/kk/fyg7f_cx1pxfxh6p377c48rw0000gn/T/d20150907-5479-kgjbk4

如何安装呢?我只需要在 Gmail 范围内使用 Google 登录

非常感谢!

【问题讨论】:

    标签: ios cocoa google-api cocoapods gmail-api


    【解决方案1】:

    检查您的 SVN 版本

    svn --version
    

    我的是 1.6.9

    最终删除了当前版本

    rm '/usr/local/bin/svn'
    

    然后安装更新的版本

    brew install subversion
    

    它似乎适用于安装 1.8.13 的那个

    【讨论】:

      【解决方案2】:

      found a discussion 关于 SDK,似乎 Google-API-Client 从来都不是官方 pod。 你要找的是GoogleAPIClient,上面提到了here

      【讨论】:

        猜你喜欢
        • 2018-04-01
        • 1970-01-01
        • 2015-10-02
        • 1970-01-01
        • 2017-02-16
        • 1970-01-01
        • 2019-11-27
        • 1970-01-01
        相关资源
        最近更新 更多