Xcode 7.1 header not found Xcode 7.1 header not found xcode xcode

Xcode 7.1 header not found


Together with your suggestion and this SO post I managed to solve it by adding "$(BUILD_ROOT)/../IntermediateBuildFilesPath/Headers" (recursive) in the project build settings, Header Search Path for Release.Also set Skip Install = YES (build settings/deployment in the RestKit-project) and changed :

#import <RestKit/RestKit.h> to "RestKit/RestKit.h"

Note. Check in your xcode preferences/locations tab where the derived data is stored. Default is Unique build location. Then look in Finder for the folder IntermediateBuildFilesPath and search for the headers you are missing. Add this folder to the search path.


I had the same issue. I added the following to the Header Search Paths build settings with non-recursive selected, and it solved my issue:

"$(BUILD_DIR)/../IntermediateBuildFilesPath/Headers"

I didn't have to change the import syntax or change any other build settings.


Changing Header Search Paths to:

"$(BUILD_DIR)/../IntermediateBuildFilesPath/Headers" (non-recursive)

was correct way for me, too. For other subprojects, you should change Public headers folder path (Build Settings > Packaging) to

"../../Headers/$(TARGET_NAME)"

in subproject target's settings.