On my phone I set Share With App Developers to On
.
Settings > Privacy > Analytics > Share With App Developers > On
I printed a nil value to force a crash:
var x: String?
print(x!)
I saw the crash in the console but when I went to:
Window > Device and Simulators > myPhone > myApp's name > View Device Logs > Process > myApp's name
I only see my app's old crashes from Nov 2017 (nothing before or after). It's not showing any current crashes from my app but it shows all the current crashes from all my other apps like YouTube, Slack, Stack Overflow etc. The one where I just printed a nil value an hour ago isn't even appearing.
In Xcode I navigated to Crashes but it says No Crash Logs:
Windows > Organizer > Crashes > App Store > releaseInAppStore but nada
Why aren't my recent crash logs appearing?
You can access the crash log in macOS in two ways: Launch Finder, press Command + Shift + G, and type ~/Library/Logs/DiagnosticReports/ in the Go to Folder dialog box. Launch Console, and look for Diagnostic Reports located under ~/Library/Logs/.
My problem was I had the wrong operating system selected.
Make sure you have the correct OS selected for your app. In the top left of organizer is the drop down to select your app, apps are listed twice: for iOS and for Mac. If you have selected Mac (when your app is intended for iOS) crash logs won't show.
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With