【问题标题】:google drive integration for upload photo from app to google drive in ios (swift)谷歌驱动器集成,用于将照片从应用程序上传到 ios 中的谷歌驱动器(swift)
【发布时间】:2016-07-05 11:29:57
【问题描述】:

我需要从我的应用程序上传相机捕获照片直接上传到谷歌驱动器的教程。 目前使用https://developers.google.com/drive/ios/quickstart?ver=swift 教程但没有得到正确的解决方案,任何人都可以帮助我如何使用 cocoapods 在我的项目中添加所有库,在教程中只显示下面在终端中运行的代码,但是我怎样才能获得所有库?

cat << EOF > Podfile &&
platform :ios, '7.0'
use_frameworks!
target 'QuickstartApp' do
    pod 'GoogleAPIClient/Drive', '~> 1.0.2'
    pod 'GTMOAuth2', '~> 1.1.0'
EOF
pod install &&
open QuickstartApp.xcworkspace 

【问题讨论】:

    标签: ios objective-c iphone swift


    【解决方案1】:

    根据你的问题,我可以说你对 cocoapods 很陌生。 您提供的代码创建了一个 pod 文件,它向 cocoapods 展示了它必须下载的框架。如果你安装了它,运行pod install 就足够了,如果没有,this 会有所帮助。

    【讨论】:

      猜你喜欢
      • 1970-01-01
      • 2019-03-26
      • 1970-01-01
      • 1970-01-01
      • 1970-01-01
      • 2019-08-04
      • 1970-01-01
      • 2022-12-15
      • 1970-01-01
      相关资源
      最近更新 更多