App Store Hang diagnostic logs reporter. A CLI tool to export all hang visible in Xcode Organizer using the App Store Connect API.
- Clone this repository.
- Run
swift build -c release
. - Use binary in
.build/release
folder.
./ASCHangReporter <keyID> <issuerID> <privateKey> [<bundleIdentifier>]
- keyID: The key ID, required for API authentication.
- issuerID: The issuer ID, required for API authentication.
- privateKey: The private key, required for API authentication. Private key is a string inside the .p8 file without the header and footer.
- bundleIdentifier: The bundle identifier of the app you want to fetch the hang reports for. This is an optional parameter. If no bundle identifier is provided the first app will be used.
The tool will print out hang reports in the following format:
- Signature: <signature>
- Weight: <weight> %
- App version: <version>
- Bundle ID: <bundleID>
- Hang ID: <hangID>
Additionally, it will write the hang logs to a JSON file in the current directory. The filename will be the hang ID with a .json
extension.
All contributions are welcome.
Project was created by Matěj Kašpar Jirásek.
Project is licensed under MIT license.