3

I have an application written in Swift which already uses the SwiftyDropbox API. I installed SwiftyDropbox with cocoapods and the use_frameworks! keyword. And now, when I add this pod 'Google-API-Client' to my Podfile, I get a Duplicate definition error in my Google Drive API when I tried to build my project.

So, I've decided to follow the Google Drive guide : https://developers.google.com/drive/ios/quickstart?ver=swift

But it seems this guide is deprecated, because there is no file named GTL.xcodeproj or GTMSessionFetcher.xcodeproj in the files we download by following this tutorial. And all the steps they describes seems to be inconsistent.

So I don't know what can I do to work with SwiftyDropbox and Google Drive API in my iOS project.

testa abalez
  • 1,042
  • 3
  • 13
  • 28
  • 1
    We updated that quickstart recently, please take another look. – Eric Koleda Feb 01 '16 at 15:20
  • I'm having the same problems with both SwiftyDropbox and QuickStart. Did you find out a solution? If so, would you mind answering either this question ( http://stackoverflow.com/q/41454375/7120487 ) or this one ( http://stackoverflow.com/q/41469110/7120487 )? Thank you – Theodore.K Jan 04 '17 at 19:54

1 Answers1

0

Just looked into the repo, it had an update last Jan 13 that may have affected the naming of the xcodeproject.

Currently, the Step 3.b project will then be

  • google-api-objectivec-client/Source/GTLCore.xcodeproj
  • gtm-session-fetcher/Source/GTMSessionFetcherCore.xcodeproj

Hopefully this is a bit of help with importing the project.

adjuremods
  • 2,938
  • 2
  • 12
  • 17