We're making changes to the Community, so you may have received some notifications - thanks for your patience and welcome back. Learn more here.

Forum Discussion

RTS S.'s avatar
RTS S.
Helpful | Level 6
9 years ago

API V2 SwiftyDropbox on OSX

What is the procedure to use the Swift API V2 on OSX.

I used the same process for the IOS project ... but I get errors:

Target 'Pods' of project 'Pods' was rejected as an implicit dependency for 'Pods.framework' because it doesn't contain platform 'macosx' in its SUPPORTED_PLATFORMS 'iphonesimulator, iphoneos'

  • RTS S.'s avatar
    RTS S.
    Helpful | Level 6

    I previously asked about connecting to multiple Accounts in the context of OSX and was told that it would be supported for API V2. Now I understand that there is no API V2 support for OSX.

    This is very disappointing.

     

  • RTS S.'s avatar
    RTS S.
    Helpful | Level 6

    It took me one day to do the Auth.swift DropBoxConnectController ... which is a View controller to display the Web View  user interface ... and only because I never used that class before and was having problems in Swift with it ... So I implemented it in Objective C. 

    The Alamofire already supports OSX.

    About 15 minutes to fix the remaining issues in SwiftyDropbox ... change UIViewController -> NSViewController, and appropriate imports.

    I am sure your folks can do this much faster than me!

     

  • Greg-DB's avatar
    Greg-DB
    Icon for Dropbox Staff rankDropbox Staff

    Unfortunately, SwiftyDropbox doesn't currently support OS X, but we'll consider this a feature request.

  • Greg-DB's avatar
    Greg-DB
    Icon for Dropbox Staff rankDropbox Staff

    Thanks for the feedback and information! I'll be sure to pass it along to the team.

  • Dennis B.20's avatar
    Dennis B.20
    New member | Level 1

    Now that API v1 has been deprecated, there is no Dropbox support for OS X development. Is this going to change or should those of us who need that find alternatives?

About Dropbox API Support & Feedback

Find help with the Dropbox API from other developers.

5,875 PostsLatest Activity: 5 hours ago
323 Following

If you need more help you can view your support options (expected response time for an email or ticket is 24 hours), or contact us on X or Facebook.

For more info on available support options for your Dropbox plan, see this article.

If you found the answer to your question in this Community thread, please 'like' the post to say thanks and to let us know it was useful!