简体   繁体   English

xCode iOS Dev - Apple Mach-O链接器错误// Dsymutil错误

[英]xCode iOS Dev - Apple Mach-O Linker Error // Dsymutil Error

I'm in SERIOUS need of help. 我非常需要帮助。 I have had 3 unsuccessful evenings of unproductive coding. 我有3个不成功的晚上非生产性编码。 Please someone, figure this error out & make me feel stupid for overlooking something so simple. 请有人,把这个错误搞清楚,让我觉得因为忽略这么简单的东西而感到愚蠢。 :) :)


[ISSUE #1] [问题#1]

I keep getting the " Apple Mach-O Linker Error " Linker command failed with exit code 1 (use -v to see invocation) 我一直得到“ Apple Mach-O链接器错误链接器命令失败,退出代码为1(使用-v查看调用)


[ISSUE #2] [问题#2]

Also... I keep getting the " Dsymutil Error " error: unable to open executable '/Users/PsychodelicFuzz/Library/Developer/Xcode/DerivedData/CHH-bmbqxvfwddzaupfaavvipxaqwvfx/Build/Products/Debug-iphonesimulator/CHH.app/CHH' 另外......我一直收到“ Dsymutil Error错误:无法打开可执行文件'/Users/PsychodelicFuzz/Library/Developer/Xcode/DerivedData/CHH-bmbqxvfwddzaupfaavvipxaqwvfx/Build/Products/Debug-iphonesimulator/CHH.app/CHH'


Thanks to anyone willing to lend a helping hand <3 感谢愿意伸出援助之手<3

将调试信息格式从构建设置更改为“DWARF”

These are likely related. 这些可能是相关的。 dsymutil is getting an error because your executable binary CHH.app doesn't exist. dsymutil收到错误,因为您的可执行二进制文件CHH.app不存在。 It doesn't exist because ld failed. 它不存在因为ld失败了。

Open the Log Navigator pane in Xcode, click on your build entry in that pane after the build has failed, then if you hover over the right-hand side of the line for " Link ... CHH.app " you'll see a disclosure icon - hit that and you will see the actual ld invocation and the actual error message that it printed. 在Xcode中打开Log Navigator窗格,在构建失败后单击该窗格中的构建条目,然后如果将鼠标悬停在“ Link ... CHH.app ”行的右侧,您将看到披露图标 - 点击它,您将看到实际的ld调用和它打印的实际错误消息。 With luck that will get you pointed in the right direction. 运气好,会让你指向正确的方向。

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM