I'm using an external framework (Parse) in my project. Everything runs smoothly when running, testing and analyzing, but archiving and profiling both throw:

Lexical or Preprocesor Issue: 'Parse.Parse.h' file not found

I've remedied issues with other static library/framework .headers not being found during archive in the past by altering the Header Search Paths and User Header Search Paths, but that plan of attack just isn't working here. Namely, I've included

$(BUILD_ROOT)/../IntermediateBuildFilesPath/UninstalledProducts/include"

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

$(BUILT_PRODUCTS_DIR)

in the Header Search Paths and User Header Search Paths for Build + Release with no result. (I know that's redundant, especially since I've set Always Search User Paths to YES, but I'm trying everything here.) I've tried adding the .h file directly to Copy Bundle Resources in a last ditch effort. Also tried removing and re-adding the framework, cleaning, etc but I've had no luck. Any thoughts much appreciated!

有帮助吗?

解决方案

Verify you have

import "Parse/Parse.h"

in your header file.

Try to do a product->Analyze.

Make sure you have added parse.framework and it has all these header files: enter image description here

许可以下: CC-BY-SA归因
不隶属于 StackOverflow
scroll top