gpt4 book ai didi

iOS 项目在 Apple Mach-O 链接器错误中给出错误 "-bundle_loader can only be used with -bundle"

转载 作者:行者123 更新时间:2023-12-01 18:53:06 26 4
gpt4 key购买 nike

我正在使用 xcode 6.0 和部署目标 7.0。
它给出了错误链接器错误。请给我解决方案。我厌倦了。
提前致谢

clang 错误文本:
"-bundle_loader can only be used with -bundle"
Screenshot of linker errors

最佳答案

如果您正在构建目标测试,那么 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/

26 4 0
Copyright 2021 - 2024 cfsdn All Rights Reserved 蜀ICP备2022000587号
广告合作:1813099741@qq.com 6ren.com