1

We're using the new v2 BoxSDK, and followed the steps on the github repo to integrate it as a subproject. Everything builds and runs fine, but we can't archive the project. We get the error:

Lexical or Preprocessor Issue: 'BoxSDK/BoxSDK.h' file not found

I've tried several combinations of setting User Header Search Paths, but can't seem to find anything that works. It looks like the header files are being put in:

"IntermediateBuildFilesPath/UninstalledProducts/include"

Has anyone had any luck getting the v2 BoxSDK working in an app when archiving?

Thanks for any help.

4

3 回答 3

5

终于搞定了。您必须将以下条目添加到您的Header Search Paths

"$(PROJECT_TEMP_DIR)/../UninstalledProducts/include"

确保你有引号。

于 2013-07-16T14:18:59.567 回答
4

将“$(BUILT_PRODUCTS_DIR)”添加到您的标题搜索路径。

于 2014-01-15T06:04:51.140 回答
3

在 XCode 7.1 上,遵循Header Search Path为我工作了 Release Build

$(PROJECT_TEMP_DIR)/../UninstalledProducts/iphoneos/include

于 2015-10-27T09:41:44.393 回答