How to obtain crash logs from users running iOS 9

后端 未结 2 679
小蘑菇
小蘑菇 2021-01-24 20:26

While we used to be able to obtain crash logs when users sync\'d with iTunes Connect at ~/Library/Logs/CrashReporter/MobileDevice/, now most users don\'t do this. T

相关标签:
2条回答
  • 2021-01-24 20:31

    For Mac Users:

    1. Open Finder (found in the Dock)
    2. Click on the 'Go' menu at the top of your screen, and select 'Go to Folder'
    3. Type (or paste): ~/Library/Logs/CrashReporter/MobileDevice/
    4. Open the folder with the same 'name' as your device. (Note: your device name appears in iTunes on the left side, under 'Devices').
    5. Select Relevant Logs

    Courtesy link: https://help.getpocket.com/customer/portal/articles/500338-how-to-find-the-iphone-ipad-app-crash-logs

    0 讨论(0)
  • 2021-01-24 20:51

    Have you ever try Crashlytics yet? It send crash log automatically and report call stack for you and other useful details.

    1) Install library using your Podfile

    # Crashlytics
    pod 'Fabric'
    pod 'Crashlytics'
    

    2) Import in AppDelegate

    Objective C

    #import <Fabric/Fabric.h>
    #import <Crashlytics/Crashlytics.h>
    

    Swift

    import Fabric
    import Crashlytics
    

    3) Initial crashlytics in didFinishLaunchingWithOptions

    Objective C

    [Fabric with:@[[Crashlytics class]]];
    

    Swift

    Fabric.with([Crashlytics.self])
    
    0 讨论(0)
提交回复
热议问题