Dropbox API Support & Feedback
Find help with the Dropbox API from other developers.
I currently have v1 in my iOS apps. I can't even get started with V2. How do I get your Roulette sample to compile? I compiled the framework and included it in the Roulette "Include" sample and get nothing but complaints about ARC errors.
It sounds like you're referring to the DBRoulette sample for the Official Objective-C SDK for the Dropbox API v2. There are three copies of the example project, one for each supported method of installation. To get started, you should pick the one for the installation method you prefer, and then follow the installation instructions to install the library, just as you would in your own app.
Note that there's a known issue in that DBRoulette hasn't be updated for a change in version 2.0.6 of the SDK, so you may want to either use 2.0.5 for now, or change the instances of "DBError" to "DBRequestError".
If you're still having trouble, please share the errors you're getting. (Screenshots may also be helpful.)
Replaced DBError with DBRequestError in DBRoulette. At least it now compiles and I just get a SIGABRT, maybe because of no keys set yet.
Now, it's saying "Library not loaded".
Console message:
dyld: Library not loaded: @rpath/ObjectiveDropboxOfficial.framework/ObjectiveDropboxOfficial
Referenced from: /Users/gordonapple/Library/Developer/CoreSimulator/Devices/F22A6687-1ED7-424E-A945-959DCC49CB5F/data/Containers/Bundle/Application/70C139CE-9AB2-4B6A-A484-518D04864D82/DBRoulette.app/DBRoulette
Reason: image not found
(lldb)
I simply dragged the framework into the project folder, then into the XCode project for DBRoulette.
Which of the three supported installation methods are you trying to use exactly? It sounds like you want to use the "manually add subproject" method. If so, make sure you follow all of those steps. For example, make sure you add it to "Embedded Binaries".
I don't use CocoPods, Carthage, repositories, or homebrew. Is there some readon DropBox can't just provide an iOS framework to put in our project and go from there?
Ok, you can add including some sample code that shows how to do the in-app authentication. The less I have to know about this, the better. (My background is Communications Systems Engineering.)
We have our base class for handling standard drill-down file access for files in a number of different services. Obviously, we will have to rewrite the subclass that is currently uses the Dropboc v1 Rest interface.
Hi there!
If you need more help you can view your support options (expected response time for a 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!