How to access subprojects header file in main project

被刻印的时光 ゝ 提交于 2021-01-27 07:56:30

问题


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?

enter image description here


回答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

标签
易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!