xcode “dwarfdump 二进制文件必须存在并且必须是可执行的”是什么意思?
声明:本页面是StackOverFlow热门问题的中英对照翻译,遵循CC BY-SA 4.0协议,如果您需要使用它,必须同样遵循CC BY-SA许可,注明原文地址和作者信息,同时你必须将它归于原作者(不是我):StackOverFlow
原文地址: http://stackoverflow.com/questions/4173672/
Warning: these are provided under cc-by-sa 4.0 license. You are free to use/share it, But you must attribute it to the original authors (not me):
StackOverFlow
What does "The dwarfdump binary must exist and must be executable" mean?
提问by georgeb23
I'm trying to build an app for submission to the AppStore..
我正在尝试构建一个应用程序以提交到 AppStore..
Each time I try to build it I get a warning during Validate saying:
每次我尝试构建它时,我都会在验证期间收到警告说:
The dwarfdump binary must exist and must be executable: /usr/bin/dwarfdump (-19036)
dwarfdump 二进制文件必须存在并且必须是可执行的:/usr/bin/dwarfdump (-19036)
And Apple doesn't allow me to submit the app binary because of this warning. Does anyone know what's wrong?
由于此警告,Apple 不允许我提交应用程序二进制文件。有谁知道出了什么问题?
I tried to Google it but I can't find anything useful..
我试图谷歌它,但我找不到任何有用的东西..
采纳答案by SRmarkcole
I was getting this error, but re-installed Xcode this time including the Unix tools (due to a suggestion on the iOS developer forums). This solved the problem. Previously I wasn't including this because I figured i wouldn't use it and was an extra 800MB of space used up. Seems iOS builds needs it for this one file now.
我收到此错误,但这次重新安装了 Xcode,包括 Unix 工具(由于 iOS 开发者论坛上的建议)。这解决了问题。以前我没有包括这个,因为我认为我不会使用它并且用了额外的 800MB 空间。似乎 iOS 构建现在需要这个文件。
Hope this helps.
希望这可以帮助。
回答by Chuck Boris
Try to search for the file dwarfdumpon your computer(i.e. using spotlight). In my case it was located in /Developer/usr/bin. Make a symbolic link into /usr/bin
尝试在您的计算机上搜索文件dwarfdump(即使用 Spotlight)。就我而言,它位于/Developer/usr/bin。建立一个符号链接到/usr/bin
sudo ln -s /Developer/usr/bin/dwarfdump /usr/bin/
回答by satoko
Same situation here:
这里的情况相同:
Xcode 3.2.5 and iOS 4.2 (comes withApplication Loader 1.4)
Xcode 3.2.5 和 iOS 4.2(带有Application Loader 1.4)
So, I just tried and success to upload my app via Application Loader ver 1.3with no dwarfdump kind error
所以,我只是尝试并成功通过Application Loader ver 1.3上传我的应用程序,没有 dwarfdump 类型错误
ver 1.3 can be downloaded link below:
https://itunesconnect.apple.com/apploader/ApplicationLoader_1.3.dmg
ver 1.3 可以通过以下链接下载:https:
//itunesconnect.apple.com/apploader/ApplicationLoader_1.3.dmg
回答by Joshua Nozzi
I'm guessing /usr/bin/dwarfdump doesn't exist on your system.
我猜你的系统上不存在 /usr/bin/dwarfdump 。
Which Xcode Tools version do you have installed? Is it a stable release or one of the previews? My guess is the latter. The 3.2.5 GM seed has a warning attached on the ADC site you should read. I think it might be your problem.
您安装了哪个 Xcode Tools 版本?它是稳定版本还是预览版之一?我的猜测是后者。3.2.5 GM 种子在 ADC 网站上附有警告,您应该阅读。我想这可能是你的问题。
回答by Phil Bosua
after upgrading to a SSD recently and migrating from my previous hard drive i got this error trying to upload my first app after the upgrade.
最近升级到 SSD 并从我以前的硬盘驱动器迁移后,我在升级后尝试上传我的第一个应用程序时遇到此错误。
The solve was to delete "Application Loader" and reinstall it. solved.
解决方法是删除“Application Loader”并重新安装。解决了。
some people are reporting you need to re install Xcode to get this error fixed but I found you only need to reinstall application loader. I guess and complete reinstall of Xcode will by default reinstall application loader and it will fix your issue but it's not necessary from my experience.
有些人报告说您需要重新安装 Xcode 才能修复此错误,但我发现您只需要重新安装应用程序加载程序。我猜并完全重新安装 Xcode 将默认重新安装应用程序加载器,它将解决您的问题,但根据我的经验,这不是必需的。