Preprocessor macro in parent project for use in subproject

匿名 (未验证) 提交于 2019-12-03 00:50:01

问题:

I have an Xcode project, which has a subproject which is a static library. I've defined a preprocessor macro in the parent project (in Build Settings), and I want it to be recognized by the subproject at compile time (I have some #ifdef statements in the subproject). But the macro is always undefined in the subproject, no matter what I do. Is it possible to do what I want?

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