Need to see if your shared folder is taking up space on your dropbox 👨💻? Find out how to check here.
Forum Discussion
Bob S.15
9 years agoCollaborator | Level 9
How to compile and run the DBRoulette example for iOS
I'm trying to get a better handle on how to use the objective-C Dropbox SDK. How do you compile and run the Example project DBRoulette? I've tried opening the DBRoulette xcode project, but it canno...
Steve L.32
9 years agoExplorer | Level 4
I keep re-visiting this v1 -> v2 project. First there was no Objective-C path, and now there are 3 "methods". Why is it not possible to just provide a Framework as in v1? I have no idea what CocoaPods or Carthage is/are but it seems I must install at least Carthage on my Mac, which I have no desire to do, to do anything. True? Or am I just grumpy and missed somethoing obvious :) ?
Greg-DB
Dropbox Community Moderator
9 years agoSteve L.32 Thanks for the feedback. In the past, we've received requests to instead supply the SDK via a package manager, such as CocoaPods or Carthage. They require some setup, but it makes it easier to install updates to the SDK aftewards. I'll send this along as a request to offer the SDK as a standalone framework.
- Steve L.329 years agoExplorer | Level 4
Fair enough, thank you. For me, an old guy, I need to spend my time on my Apps proper, so really appreciated simply droppping an officially built, fully supported framework into my Xcode project, without having to worry did I screwup building yet another few thousand lines worth of code. Learning curves get really steep at my age :)
- Steve L.329 years agoExplorer | Level 4I too am finding it extremely difficult in making this v2 transition. My needs are very simple: my v1 app queries metadata, and uploads and downloads files. The old DBRoulette example was simple to understand, all I needed was a key and a secret, and authentication just worked. I never even heard of OAuths and endpoints back then!Now DBRoulette comes in three flavours, so which is the “better” method? Would you give me a 25 word executive summary? For what it’s worth I’ve already installed carthage. I am trying the Xcode subproject method, but have a question.I have built the SDK and added it to DBRoulette, updated the plist and tried a compile but the header file can’t be found, can you suggest what I have missed? Picture of the project, which looks really good to me, follows … many thanks!Steve
- Steve L.329 years agoExplorer | Level 4
FWIW the documented path to the Xcode subproject differs from what I found, if that matters:
Salamander:DBRoulette lusol$ dir Carthage/Checkouts/ObjectiveDropboxOfficial/Source/ObjectiveDropboxOfficial/ObjectiveDropboxOfficial.xcodeproj ls: Carthage/Checkouts/ObjectiveDropboxOfficial/Source/ObjectiveDropboxOfficial/ObjectiveDropboxOfficial.xcodeproj: No such file or directory Salamander:DBRoulette lusol$ dir Carthage/Checkouts/dropbox-sdk-obj-c/Source/ObjectiveDropboxOfficial/ObjectiveDropboxOfficial.xcodeproj/ total 1048 drwxr-xr-x 6 lusol staff 204 May 13 10:26 . drwxr-xr-x 6 lusol staff 204 May 13 10:26 .. drwxr-xr-x 3 lusol staff 102 May 13 10:26 en.lproj -rw-r--r-- 1 lusol staff 533743 May 13 10:26 project.pbxproj drwxr-xr-x 3 lusol staff 102 May 13 10:26 xcshareddata drwxr-xr-x 3 lusol staff 102 May 13 10:26 xcuserdata
About Dropbox API Support & Feedback
Find help with the Dropbox API from other developers.
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, Facebook or Instagram.
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!