Search code examples
iphonexcodecocoa-touchxcode3.2

Xcode's Build and Archive not working


The current issue I'm having is that Build and Archive will build my current target but after it's finished building, a pop-up will appear with the message:

"The operation couldn't be completed. No such file or directory"

I have reinstalled Xcode (3.2.3 with SDK 4.0), rebooted my machine, cleaned the cache, cleaned the project, manually deleted the project build directory. Nothing has worked.

I've also checked ~/Library/MobileDevice/Archived Applications and it is empty.

Any ideas?

p.s. This is driving me crazy!


Solution

  • I had this problem and the solution that was recommended to me was:

    1. Open your Xcode project
    2. Select Unity-iPhone in targets (Double click so it opens the info)
    3. Find "Generate Debug Symbols" and check it on. (Just Search for it in the search field)

    This worked for me, but I still don't understand why it was necessary.