Cut the Clutter: Test Ignore Files Feature - sign up to become a beta tester  here!

Forum Discussion

RTS S.'s avatar
RTS S.
Helpful | Level 6
10 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'

7 Replies

  • Greg-DB's avatar
    Greg-DB
    Icon for Dropbox Community Moderator rankDropbox Community Moderator
    10 years ago

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

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

    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
    10 years ago

    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 Community Moderator rankDropbox Community Moderator
    10 years ago

    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
    10 years ago

    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

Node avatar for Dropbox API Support & Feedback
Find help with the Dropbox API from other developers.6,037 PostsLatest Activity: 10 hours ago
412 Following

The Dropbox Community team is active from Monday to Friday. We try to respond to you as soon as we can, usually within 2 hours.

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!