Cut the Clutter: Test Ignore Files Feature - sign up to become a beta tester here!
Forum Discussion
RTS S.
10 years agoHelpful | Level 6
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-DB10 years ago
Dropbox Community Moderator
Unfortunately, SwiftyDropbox doesn't currently support OS X, but we'll consider this a feature request.
- RTS S.10 years agoHelpful | 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.10 years agoHelpful | 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-DB10 years ago
Dropbox Community Moderator
Thanks for the feedback and information! I'll be sure to pass it along to the team.
- Dennis B.2010 years agoNew 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?
- Greg-DB10 years ago
Dropbox Community Moderator
Hi Dennis, it looks like you also started a new thread for this, so I'll follow up there:
https://www.dropboxforum.com/hc/en-us/community/posts/206204683-Support-for-OS-X-macOS-in-v2-SDK
- Greg-DB9 years ago
Dropbox Community Moderator
To follow up here, SwiftyDropbox does now support OS X/macOS.
About Dropbox API Support & Feedback
Find help with the Dropbox API from other developers.6,037 PostsLatest Activity: 10 hours ago
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!