iOS 项目在 Apple Mach-O 链接器错误中给出错误“-bundle_loader 只能与 -bundle 一起使用”
iOS project gives error "-bundle_loader can only be used with -bundle" in Apple Mach-O Linker error
我正在使用 xcode 6.0 和部署目标 7.0。
它给出错误链接器错误。请给我 solution.i 我受够了。
提前致谢
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
我正在使用 xcode 6.0 和部署目标 7.0。 它给出错误链接器错误。请给我 solution.i 我受够了。 提前致谢
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