Dropbox-iOS-SDK / DropboxSDK.h not found

I watched this How to download applications on iPhone using Xcode 7

Download the codecs, install it and the reason, run the pod install command

Prior to that, it worked perfectly. But when I start the GBA4iOS.xcworkspace project GBA4iOS.xcworkspace is an error, says

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

enter image description here

This is strange, so I deleted the Pods directory and installed it again. I received a warning when this was done.

 [!] CrashlyticsFramework has been deprecated in favor of Crashlytics 

enter image description here

But I do not think that this is the reason causing this 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 is going on? How to fix it?

+7
ios dropbox cocoapods
source share
2 answers

I had the same problem, and looking in the Pods / Headers / {Private | Public} in Finder, I could not find the Dropbox-iOS-SDK folder. So I created it mkdir Dropbox-iOS-SDK and then linked the headers to the Pods / Dropbox-iOS-SDK with:

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

both publicly and privately.

Then I had to disable the bitcode in Xcode in the "Build / Settings Parameters" section and it worked!

+9
source share

Try adding "${PROJECT_DIR}/Pods" to Header Search Paths in Build Settings

-one
source share

All Articles