【问题标题】:google drive SDK and IOS 7.1谷歌驱动SDK和IOS 7.1
【发布时间】:2014-03-25 13:53:15
【问题描述】:

我在我的 ios 7 应用程序上使用 google drive sdk,一切正常,直到我将我的 xcode 从带有 ios 7 sdk 的 xcode 5.0.2 更新到带有 ios 7.1 sdk 的 xcode 5.1,现在我得到了这个错误:

error: /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/libtool: can't open file: /Users/bluesettlesarlau/Library/Developer/Xcode/DerivedData/GDrive-agxtlrnwyhhlgmfclyzmszawcbcn/Build/Intermediates/GTL.build/Debug-iphonesimulator/GTLTouchStaticLib.build/Objects-normal/i386/GTMOAuth2Authentication.o (No such file or directory)

 unused variable 'kOAuth2ClientIDKey'
 unused variable 'kOAuth2ClientSecretKey'
 unused variable 'kOAuth2RedirectURIKey'
 unused variable 'kOAuth2ResponseTypeKey'
 unused variable 'kRefreshFetchArgsKey' 

谁能帮帮我?

【问题讨论】:

    标签: objective-c xcode ipad ios7 google-drive-api


    【解决方案1】:

    尝试更新 google drive sdk,它对我有用。 https://code.google.com/p/google-api-objectivec-client/source/checkout

    svn checkout http://google-api-objectivec-client.googlecode.com/svn/trunk/ google-api-objectivec-client-read-only
    

    【讨论】:

      【解决方案2】:

      你有两个选择:

      1. 从您的 Google 库副本中删除未使用的变量(向 Google 项目发送错误报告,以便他们为所有人修复此问题)。
      2. 不推荐 - 更新项目中的构建设置并禁用此警告。实际上不要这样做。这是一个很好的警告,因为在许多情况下,这意味着您的代码中有错误或拼写错误需要修复。

      【讨论】:

        猜你喜欢
        • 2023-04-04
        • 1970-01-01
        • 1970-01-01
        • 1970-01-01
        • 1970-01-01
        • 1970-01-01
        • 1970-01-01
        • 1970-01-01
        • 1970-01-01
        相关资源
        最近更新 更多