cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 
Announcements
Update: Find information on Dropbox support during COVID-19 here
Close

Dropbox API Support & Feedback

Find help with the Dropbox API from other developers.

cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 
Highlighted

Need Just the Swift 3 Framework

New member | Level 1
New member | Level 1

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 4
Highlighted

Re: Need Just the Swift 3 Framework

Super User alumni
Super 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...

Highlighted

Re: Need Just the Swift 3 Framework

New member | Level 1
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.

Highlighted

Re: Need Just the Swift 3 Framework

Dropboxer
Dropboxer

@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.

Highlighted

Re: Need Just the Swift 3 Framework

New member | Level 1
New member | Level 1

Thanks, Stephen,

I will I'll definitely give it a try.

Polls
Do you know how to organize your files and folders?
We have created a guide on folder best practice, so you can get organized now check it out here.

Work Smarter with Dropbox

The way we work is changing. Share and discover new ways to work smarter with Dropbox in our community.

Sound good? Let's get started.
Who's talking

Top contributors to this post

What do Dropbox user levels mean?
Need more support?