When attempting to share an application after archiving in XCode4, I kept getting an error message, “The operation couldn’t be completed. No such file or directory.” It appears that there was a similar issue in XCode3 that could be resolved by turning on “Generate Debug Symbols” but that did not resolve the issue for me at all.
Resolution: After clicking Share… in the Archives section of the Organizer, click on the identity dropdown. Do not allow it to use the Automatic Profile Selection, instead manually choose the correct profile to sign your archive.
If you manually select the identity to sign your application, you shouldn’t get the error message and you should be able to successfully save and share your application.
3 responses so far ↓
1 Philip Walton // Apr 29, 2011 at 10:57 pm
I’m having this exact same problem, but unfortunately, your solution didn’t work for me
If anyone else sees this comment and finds another
solution, please let me know.
2 Doug Clarke // Jun 5, 2011 at 1:08 pm
I’m having the same problem.
3 William Denniss // Jun 13, 2011 at 10:37 am
There are some alternative solutions to this problem here: http://stackoverflow.com/questions/5838409/xcode-4-archive-ipa-error-the-operation-couldnt-be-completed-no-such-file-or/5889261#5889261 one of them solved it for me (reinstalling XCode4 with all installation options checked).
Leave a Comment