Crash Reporting-CrashSight
Help Documents menu

Crash Reporting-CrashSight

Updated on: 2022-10-11 11:25

FAQs

FAQs for iOS version

1.A crash which occurs after accessing the SDK is not reported

  • Check if your AppId has been set correctly.
  • Check if the initialization of the SDK was completed before the crash.
  • Check if a network is available.
  • If reports were made previously during testing but reporting sudddenly stopped, it may be that CrashSight’s network data protection mechanism has been triggered. Please uninstall the app and test it again (this will not affect the user’s crash accuracy rate).
  • Are any third-party components used to record crashes? If so, place the CrashSight initialization behind this component.
  • Whether the iOS watchdog mechanism is triggered to cause a crash.

2 .What is the basis for assessing network lag and timing reports?

  • The basis of assessing network lag within iOS is to monitor the execution of the main thread Runloop and observe whether the execution time exceeds the predetermined threshold (default threshold is 3000 milliseconds). When a network lag is detected, the thread stack is immediately recorded to the local device, and when the app is switched from the background to the foreground, a report will be executed.

3 . Why do I need a Java environment to upload the symbol table?

  • Our symbol table extraction tool depends on the Java environment. The symbol table tool only extracts the necessary information, and this can greatly reduce the volume of the file to be uploaded.

4 .The symbol table failed to upload, and a prompt stating “UUID Mismatch” appeared.

  • In each construction, the UUID of the symbol table will change, so the real-time-generated symbol table file is required to restore the crash uploaded after the current construction.

5 . The suffix names of the dependency library vary, and may include libc++.dylib and libc++.tbd

  • Add dependency library libc++.tbd when compiling using iOS SDK 9.0 and later,and add libc++.dylib for versions prior to 9.0.

Note:

  • If the configuration of the C++ Standard Library of your Xcode project is libstdc++,
  • Please select CrashSight.framework within the CrashSight_libstdc++ directory.
  • And replace libc++.dylib with libstdc++.dylib.

6 . What are the functions of the different SDKs?

  • iOS SDK: This is used to collect the crash, network lag, and operational statistics of the iOS app.
  • iOS App Extension SDK: This is used to collect crash data from the iOS App Extension. During integration, it should be integrated in the Extension of your app (Extension is a very important new feature introduced in iOS 8; if your App does not add Extension, you don’t need to integrate the iOS App Extension SDK).
  • watchOS SDK: This is used to collect the crash data of apps developed based on watchOS 2.0.
  • Cocos Plugin: This is used to collect crash, script error, and other data from Cocos engine-based apps.
  • Unity Plugin: This is used to collect crash, script error, and other data in apps based on the Unity engine