Welcome to OGeek Q&A Community for programmer and developer-Open, Learning and Share
Welcome To Ask or Share your Answers For Others

Categories

0 votes
398 views
in Technique[技术] by (71.8m points)

xcode4.2 - Submitting a Mac App fails with 'Bad File Descriptor'

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.

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.

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.

See Question&Answers more detail:os

与恶龙缠斗过久,自身亦成为恶龙;凝视深渊过久,深渊将回以凝视…
Welcome To Ask or Share your Answers For Others

1 Reply

0 votes
by (71.8m points)

This turned out to be what got rid of it for me:

cp <xcode-install-directory>/usr/bin/*build /usr/bin/

I previously did a clean install of Xcode too, though, so I can't promise this is all it took.


与恶龙缠斗过久,自身亦成为恶龙;凝视深渊过久,深渊将回以凝视…
OGeek|极客中国-欢迎来到极客的世界,一个免费开放的程序员编程交流平台!开放,进步,分享!让技术改变生活,让极客改变未来! Welcome to OGeek Q&A Community for programmer and developer-Open, Learning and Share
Click Here to Ask a Question

...