We are aware of the issue with the badge emails resending to everyone, we apologise for the inconvenience - learn more here.
Forum Discussion
Keith B.7
9 years agoHelpful | Level 7
Objective-C framework now failing to build?
Hello,
If I download a fresh copy of the Objective-C API 2 framework and try to use it in an Xcode project, it refuses to build, reporting missing files. I do not have these problems with a version of the framework source code I downloaded a few weeks ago.
To reproduce, using Xcode 8 on macOS 10.12:
1. Go to: <https://github.com/dropbox/dropbox-sdk-obj-c>
2. Click on “Clone or download”.
3. Select “Download ZIP”.
4. Once it’s finished downloading, in the Finder, navigate to the “dropbox-sdk-obc-c-master” folder that was downloaded in the Downloads folder (macOS should have automatically expanded the .zip file into a folder).
5. Drill down into the /Source/ObjectiveDropboxOfficial folder.
6. In Xcode, create a new iOS project.
7. Drag ObjectiveDropboxOfficial.xcodeproj from the Finder into the source list of the new Xcode project you created, ensuring the green “+” icon appears before dropping it, so that it is added to the project without requiring a new workspace.
8. In the Xcode source list, expand the ObjectiveDropboxOfficial.xcodeproj icon and then, inside that, expand “Products”.
9. In the “General” settings of the main project’s target, drag the first ObjectiveDropboxOfficial.framework target from the source list (which should be the iOS one) into the “Embedded Binaries” area.
For me, in any project to which I add the Dropbox framework, the build fails reporting that “DBTasksStorage.h” and “DBConstants.h”. Strangely, although these files are present when I look in the Finder, they do not appear in Xcode's source list. So it is as though dragging the project into Xcode isn't creating references to all the files for some reason.
This doesn't happen with other frameworks, and, as I say, it doesn't happen with the version of the Dropbox API 2 framework that I downloaded three or four weeks ago. (Although this could still be an Xcode problem or a problem on my end, no doubt.)
Thanks,
Keith
Thanks for bringing this to our attention, Kieth. I've gone ahead and put out another version of the SDK (1.1.3). Would you mind pulling it and seeing if the problem persists?
Let us know – thanks for your patience!
- Greg-DBDropbox StaffThanks Keith! We'll look into it.
- Stephen C.14Dropbox Staff
Thanks for bringing this to our attention, Kieth. I've gone ahead and put out another version of the SDK (1.1.3). Would you mind pulling it and seeing if the problem persists?
Let us know – thanks for your patience!
- Keith B.7Helpful | Level 7
It all builds fine now - thanks for the quick resolution!
All the best,
Keith
About Dropbox API Support & Feedback
Find help with the Dropbox API from other developers.
5,876 PostsLatest Activity: 41 minutes agoIf 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!