提交 Mac 应用程序失败并显示“错误的文件描述符" [英] Submitting a Mac App fails with 'Bad File Descriptor'

查看:32
本文介绍了提交 Mac 应用程序失败并显示“错误的文件描述符"的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我已经成功地签署了我的应用程序并将其存档在 Xcode 4.2 中,但是当我去组织者并按验证"或提交"时(并且在浏览了 iTunes Connect 登录和应用程序记录的两张表之后)和签名)我收到一个错误操作无法完成.错误的文件描述符".重新启动 Xcode 并没有解决问题.

I've managed to sign my app and have archived it in Xcode 4.2 but when I go to the organiser and press ether 'Validate' or 'Submit' (and after going through the two sheets for iTunes Connect login and application record and signing) I get an error "The operation couldn't be completed. Bad file descriptor". Restarting Xcode did not fix the problem.

我还尝试了开发者工具中包含的 Application Loader 应用程序,但我不知道它在寻找什么类型的文件,因为它不允许我选择构建的应用程序包或 .zip说要上传的包.

I've also tried the Application Loader app included in the developer tools but I can't figure out what kind of file it's looking for since it won't allow me to choose either the built app bundle or a .zip of said bundle for upload.

我不是唯一遇到此问题的人,因为 Apple 开发者论坛上有一条关于此问题的帖子,但没有解决方案.我在另一个论坛上看到一个帖子说问题是缺少应用程序工具",但没有详细说明.

I'm not the only one with the problem as there's a thread on the Apple Developers' Forum about this but there's no resolution there. I've seen a posting on another forum that says the problem is 'missing application tools' but there's no elaboration on that.

推荐答案

  1. 按 Command+Space,输入 Terminal 并按 Enter

  1. Press Command+Space, type Terminal and hit Enter

sudo cp/Developer/usr/bin/*build/usr/bin/

sudo cp/Developer/usr/libexec/productutil/usr/libexec/

现在您可以再次提交相同的存档.清理和存档应该没有必要.如果你没有默认安装 XCode路径,您应该在命令中将 /Developer 替换为该路径

Now you can submit the same archive again. Clean and Archive should not be necessary. If you have not installed XCode at the default path, you should exchange /Developer for that path in the commands above.

这篇关于提交 Mac 应用程序失败并显示“错误的文件描述符"的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆