Find centralized, trusted content and collaborate around the technologies you use most.
Teams
Q&A for work
Connect and share knowledge within a single location that is structured and easy to search.
我正在为 ios 构建一个库。现在,我想基于预处理器编译这个库的两个版本。现在,在第二个版本中,我可能不需要所有文件,因此我手动从“构建阶段”中的“编译源”中删除文件。有没有自动的方法来做到这一点?
据我所知,在 XCode 中处理这种情况的方法是为同一个项目创建两个不同的目标,每个目标都有要编译的正确源。