问题
I have one main project and another project which is added as a subprojects. I want to access header file which is defined in subproject into the main projects but unfortunate it is saying file not find error.
Please have look on the attach image. what should I modify to access header files of subprojects?
回答1:
You will need to add the path of the sub project to the search path for headers
in the main project, for reading how to do it check this Adding system header search path to Xcode
来源:https://stackoverflow.com/questions/11063733/how-to-access-subprojects-header-file-in-main-project