我正在使用 xcode 6.0 和部署目标 7.0。
它给出了错误链接器错误。请给我解决方案。我厌倦了。
提前致谢
clang 错误文本:"-bundle_loader can only be used with -bundle"
最佳答案
如果您正在构建目标测试,那么 this answer应该可以帮助你。
go to the Test Target build settings, and then search for "Mach-O" or "Linker", and you should see it as "Mach-O Linker", Mach-O Linker flag in the test target was set to "executable" instead of "bundle".
从 Xcode 6 开始,链接器标志称为
Mach-O Type
关于iOS 项目在 Apple Mach-O 链接器错误中给出错误 "-bundle_loader can only be used with -bundle",我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/29649573/