Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

'Dropbox-iOS-SDK/DropboxSDK.h' file not found

I've been following this How to sideload apps on your iPhone using Xcode 7

Downloaded the cocoapods, installed it, and of cause, ran the command pod install

It worked perfect so far. But, when i start the project GBA4iOS.xcworkspace there is an error says

'Dropbox-iOS-SDK/DropboxSDK.h' file not found

enter image description here

It's weird, so I deleted the directory Pods, and re-pod install it. I got a warning when it's done.

[!] CrashlyticsFramework has been deprecated in favor of Crashlytics

enter image description here

But I don't think it's the reason that cause that error.

Actually, I can find this head file in Pods

At the bottom of this screenshot is DropboxSDK.h

enter image description here

So, what's going on? How to fix it?

like image 282
MMMMMCCLXXVII Avatar asked Oct 06 '15 12:10

MMMMMCCLXXVII


1 Answers

I had the same issue, and looking into the Pods/Headers/{Private|Public} folder in the Finder, I couldn't find the Dropbox-iOS-SDK folder. So I created it mkdir Dropbox-iOS-SDK, and then link the headers from Pods/Dropbox-iOS-SDK with :

ln -s ../../../Dropbox-iOS-SDK/dropbox-ios-sdk-1.3.13/DropboxSDK.framework/Headers/* .

both in Public and Private.

I then had to disable Bitcode in Xcode under Build Settings/Build Options and it worked !

like image 162
NaN Avatar answered Nov 12 '22 13:11

NaN