Take Your Search Game to the Next Level with Dropbox Dash  🚀✨ Curious how it works? Ask us here! 

Forum Discussion

John G.17's avatar
John G.17
New member | Level 1
9 years ago

Need Just the Swift 3 Framework

I understand that I am being forced to rewrite my applications to use the new API v2. However, it appears that I have to use yet another SET of third party tools just to do this. (Cocoa pods, Carthage, Alamofire, Homebrew, yada).

I just want to import a framework into Xcode. Is Dropbox telling me that is impossible?

I will rewrite the applications for Swift 3 and IOS 10.

Thanks.

 

 

4 Replies

  • Richard P.'s avatar
    Richard P.
    Icon for Super User alumni rankSuper User alumni

    The Dropbox SDK comes with its own dependencies - you hardly expect the Dropnox API to implement everything it needs to do itself, right?  For example, AlamoFire is a very good http-communication framework that performs well, so Dropbox uses it rather than either roll their owm or use the tripe that Apple supplies.

    This is the way of decent software development, I suggest you learn the tools, you may indeed benefit heavily from them...

  • John G.17's avatar
    John G.17
    New member | Level 1

    Thanks for your comment, Richard. Yes, heaven forbid they implement everything needed. I'm in this predicament precisely because I used a third-party tool (Dropbox). We all expect processes to be deprecated over time, but in this case they are disconnecting the API completely. I find that very troubling.

    The cloud store needs of my apps are simple file storage. In a couple of hours yesterday, I used the Apple tools you denigrate to build an equivalent function to use iCloud for storage. It will be much easier for me to convert users.

  • @Richard P.: Thanks for your reply and its helpful contextualization.

    @John G.: Richard is correct in the sense that it's hard to avoid using some of these third-party tools entirely. If you want the least invasive way of getting a framework file into your project, then you probably want to use Carthage. Please follow the instructions here. I promise you its not more than 5-10 minutes of work. Carthage will pull SwiftyDropbox source from GitHub (as well as source for any other dependencies, like Alamofire) and then conveniently build the framework files right inside your project folder.

    Let us know if you run into any issues using Carthage or integrating the SDK into your project.

  • John G.17's avatar
    John G.17
    New member | Level 1

    Thanks, Stephen,

    I will I'll definitely give it a try.

About Dropbox API Support & Feedback

Node avatar for Dropbox API Support & Feedback
Find help with the Dropbox API from other developers.5,989 PostsLatest Activity: 2 hours ago
378 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!