Need to see if your shared folder is taking up space on your dropbox 👨💻? Find out how to check here.
Forum Discussion
AppleGG
9 years agoHelpful | Level 6
Objective C Framework Install
I'm having some major issues here. I see there have been recent updates. I don't use GitHub or Carthage. Just trying to get something working. My question is whether or not I really need to imbed the subproject? Or does the compiled framework contain everything I need to add to my project?
FYI. I was finally able to extract what I needed from DBRoulette and got it working. My file handler is now able to connect, navigate folders, add a folder, delete file/folder, download, and upload. Got a few more test ahead, but the basics appear to be working.
14 Replies
Replies have been turned off for this discussion
- Greg-DB9 years ago
Dropbox Community Moderator
Thanks for the post! We don't offer the API v2 Objective-C SDK as a direct .framework download, but I'll be sure to pass this along as a feature request.
You can find the three supported installation methods in the documentation here:
https://github.com/dropbox/dropbox-sdk-obj-c#sdk-distribution
We recommend using a package manager like CocoaPods or Carthage as it manages dependencies for you, and makes updating to newer versions of libraries in the future easier.
If you're running in to any issues with any of the supported installations methods, please let us know the details so we can look into it and help. - AppleGG9 years agoHelpful | Level 6
That wasn't exactly the question. I downloaded the package and did a compile on the source to get the framework. Once that's done, can I get by with just adding the resulting compiled framework to my project? I tried that, but I'm getting some linker errors. It complains about architectures.
- Greg-DB9 years ago
Dropbox Community Moderator
If you want to build and add the framework directly, there are a few extra steps you'll need to do. You can find the instructions for that method here:
https://github.com/dropbox/dropbox-sdk-obj-c#manually-add-subproject
Please try those out and let us know if you're still running in to any issues. If so, please share the full output you're getting. - AppleGG9 years agoHelpful | Level 6
You are still not giving me a direct answer. I downloaded the project from GitHub as a zip, compiled the framework, and added the framework to my own project. Should this be adequate? Or do I have to embed it as a subproject to make it work?
- Greg-DB9 years ago
Dropbox Community Moderator
No, I don't believe that would be sufficient. You'll need to follow the instructions here:
https://github.com/dropbox/dropbox-sdk-obj-c#manually-add-subproject - AppleGG9 years agoHelpful | Level 6
And therein lies the problem. I don't use repositories, nor do I want to. I've already replaced all my Dropbox support code, updated the info.plist, etc. Why isn't there a simple SDK framwork I can just download, add to my project, and start testing my code without going through all of this?
At this point, I'm so fustrated with it, that if I didn't already have the older Dropbox support in my apps, I would just forget the whole thing. This is taking way too much of my time.
- Greg-DB9 years ago
Dropbox Community Moderator
Thanks for the feedback! I'll send this along to the team as a request for a .framework download that you can add like this, but I can't promise if or when that would be added. - AppleGG9 years agoHelpful | Level 6
FYI. I was finally able to extract what I needed from DBRoulette and got it working. My file handler is now able to connect, navigate folders, add a folder, delete file/folder, download, and upload. Got a few more test ahead, but the basics appear to be working.
- David M.3019 years agoExplorer | Level 3I will most likely have to drop support for Dropbox until they release a .framework to add to my project. Are there any updates on a .framework release for objective c?
- Greg-DB9 years ago
Dropbox Community Moderator
Hi David M.301, no, unfortunately I don't have any news on potentially offering the API v2 Objective-C SDK as a .framework download. I don't believe the team has plans to do so right now. I'll add your vote to the feature request. For reference, one of the developers added some information about this to this GitHub issue requesting it.
Have you tried any of the supported installation methods? I've personally found CocoaPods to be the easiest to set up.
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!