Xcode: Build Failed, but no error messages

You can see reasons for failure on Report Navigator present in Navigator window.

  • Open Navigator by pressing Hide/Show Navigator button present in top-left side of Xcode.

Screenshot 1

  • Open Report Navigator by pressing last button present on list of buttons in Navigator window.

Screenshot 2

Here you can view reasons either By Group or By Time


Click the last icon in the top bar of the left most panel in your Xcode window to reveal the secret Archive build errors.

enter image description here

It will likely be something related to code signing if you are able to build and run the app, but not Archive. Further googling of your error message should resolve that now that it has been revealed.


Click the last icon in the top bar of the left most panel in your Xcode window to reveal the "secret" Archive build errors. I had permission issues which solved for me.

Xcode - Report Navigator


Figured it out. On the tab with three lines in a speech bubble, it shows a build log. I guess my storyboard file had become corrupt during the last git pull.

For Xcode 12+ screenshot of Xcode 12 toolbar

Tags:

Build

Xcode