xcodetestflightcrash-log

How do I access Xcode crash logs when attempting to "Validate App" or "Distribute App"?


I'm trying to submit a build to TestFlight. I created an archive by choosing "Generic iOS Device" Product > Archive. It then opened up the Window > Organizer.

There I'm presented with two options:

  1. Distribute App
  2. Validate App

If I choose Validate App, Xcode crashes immediately, and I can't see any error message. If I choose Distribute App > iOS App Store > Upload, it says "analyzing signature" and crashes immediately again (no error message).

If I try to Validate a different app, it succeeds. Thus there is something wrong with the set up of this project. However, because it instantly crashes and doesn't show an error message, I can't know what that is in order to resolve it.

Is there a way to view crash logs anywhere so I have a better understanding as to how to fix this problem?

I tried running on Xcode 10.1 and Xcode 10.2 beta 4. Both have the same behavior.


Solution

  • Method #1:

    You can check all crash logs from the Console app

    or

    Click on User Reports in the sidebar and open the crash logs starting with the Xcode


    Method #2:

    The actual files are located here:

    ~/Library/Logs/DiagnosticReports/