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.
编辑:这个问题可能很旧,它与 xcode 3 有关。
我正在开发一个需要 voip 支持的 iPhone 应用程序,所以我添加了 ARM 版本的pjsip 库。但如果我使用的是 iPhone 模拟器,我想链接 i386 版本的库。我怎样才能做到这一点?
我想我终于解决了。您需要转到您的项目设置并选择构建选项卡。之后选择一个你想要有条件的设置,例如其他链接器标志,然后从左下角的小下拉菜单中选择“添加构建设置条件”。根据需要多次执行此操作。
这是一张图片来解释它。