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

Objective-C framework now failing to build?

Helpful | Level 6

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

1 Accepted Solution

Accepted Solutions
Highlighted

Re: Objective-C framework now failing to build?

Dropboxer
Dropboxer

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!

View solution in original post

3 Replies 3
Highlighted

Re: Objective-C framework now failing to build?

Dropboxer
Dropboxer
Thanks Keith! We'll look into it.
Highlighted

Re: Objective-C framework now failing to build?

Dropboxer
Dropboxer

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!

View solution in original post

Highlighted

Re: Objective-C framework now failing to build?

Helpful | Level 6

It all builds fine now - thanks for the quick resolution!

 

 

All the best,
Keith

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?