Header search paths trouble Grabkit

2019-06-27 04:44发布

问题:

I'm developing a iOS 6 app for iPad and I use a Repository called Grabkit, which I have to add inside my project as a nested/sub project. In order to make it work I must add in Header Search Paths the following code:

$(TARGET_BUILD_DIR)/include/GrabKitLib

So then it looks like that:

It works pretty well in the simulator and even when I test it on my iPad, but the problem is that when I want to archive to send it to the App Store I get an error saying: "Grabkit.h file not found" I don't get this error when I'm testing the app so it's weird. What could be the problem? What can I do? Thanks

回答1:

I fixd it by adding $(BUILD_ROOT)/../IntermediateBuildFilesPath/UninstalledProducts/include/GrabKitLib in user header search path

skip install = NO