Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

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.

like image 578
Senseful Avatar asked Mar 15 '19 18:03

Senseful


People also ask

How do I view a crash log app?

Find your data Select an app. On the left menu, select Quality > Android vitals > Crashes and ANRs. Near the center of your screen, use the filters to help you find and diagnose issues. Alternatively, select a cluster to get more details about a specific crash or ANR error.

How do I Symbolicate a crash log in Xcode 11?

To symbolicate in Xcode, click the Device Logs button in the Devices and Simulators window, then drag and drop the crash report file into the list of device logs. Crash reports must have the . crash file extension. If a crash report doesn't have a file extension, or has a different file extension like .

How do I share iOS app for testing?

Add UDID of the devices to the developer portal. Create a ad-hoc profile and a developer profile of the app from the developer portal. Archive the app using these certificates and then upload the ipa to the testflight. Then you can send the invitation to your testers.


1 Answers

Method #1:

You can check all crash logs from the Console app

  • Applications > Utilities > Console

or

  • Spotlight Search > Console

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/

  • Paste this in Finder > Go > Go to Folder
like image 111
staticVoidMan Avatar answered Oct 02 '22 07:10

staticVoidMan