cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 
Announcements
Tell us what you want to see on the Community 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: 

How to fix this issue? ObjectiveDropboxOfficial/ObjectiveDropboxOfficial.h' file not found

Highlighted

How to fix this issue? ObjectiveDropboxOfficial/ObjectiveDropboxOfficial.h' file not found

Explorer | Level 4

I had a source control issue causing me to manually merge two different streams.  All my code seems to be there, but now in the app delegate I am getting the error noted above on the import statement in my AppDelegate

#import <ObjectiveDropboxOfficial/ObjectiveDropboxOfficial.h>

I can see the POD, but no idea what is going on.

Thanks!

1 Accepted Solution

Accepted Solutions
Highlighted

Re: How to fix this issue? ObjectiveDropboxOfficial/ObjectiveDropboxOfficial.h' file not found

Dropboxer
It's unclear exactly what happened in your project as a result of your source control issue, but I recommend just re-installing the pod:

https://github.com/dropbox/dropbox-sdk-obj-c#cocoapods

You can also delete the Pods folder and Podfile.lock file to start clean before installing again.

View solution in original post

4 Replies 4
Highlighted

Re: How to fix this issue? ObjectiveDropboxOfficial/ObjectiveDropboxOfficial.h' file not found

Dropboxer
It's unclear exactly what happened in your project as a result of your source control issue, but I recommend just re-installing the pod:

https://github.com/dropbox/dropbox-sdk-obj-c#cocoapods

You can also delete the Pods folder and Podfile.lock file to start clean before installing again.

View solution in original post

Highlighted

Re: How to fix this issue? ObjectiveDropboxOfficial/ObjectiveDropboxOfficial.h' file not found

Explorer | Level 4
I was able to do that - but then all the API I used is no longer there...... So I guess I will need to update all my code for the new API.
Highlighted

Re: How to fix this issue? ObjectiveDropboxOfficial/ObjectiveDropboxOfficial.h' file not found

New member | Level 2

I have the same issue and can't get this to work. I've tried cleaning, reinstalling, etc. - but I keep getting 

#import <ObjectiveDropboxOfficial/ObjectiveDropboxOfficial.h> file not found.

 

Any other ideas? 

Out of desperation I was trying the carthage option but that one fails at the basic command that I run on the terminal to build it (the idea was to add it manually at this point). 

If you can point me in the right direction for a manual add, that's fine too, as long as I can get past this problem. 

Thanks

Highlighted

Re: How to fix this issue? ObjectiveDropboxOfficial/ObjectiveDropboxOfficial.h' file not found

Dropboxer

@marcoalt We currently officially support three different installation methods for the Dropbox Objective-C SDK. Specifically:

It sounds like you were initially trying to install it via CocoaPods, is that right? Can you double check you followed the instructions exactly as documented? 

Also, make sure you open the .xcworkspace file, not the .xcodeproj file.

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?