Được TopGit lập chỉ mục từ metadata GitHub: kstenerud/KSCrash có 4.5k sao, viết chủ yếu bằng Objective-C. The Ultimate iOS Crash Reporter
Tóm tắt dựng từ metadata GitHub của chính dự án — chưa có bài review TopGit. Trang sẽ tự động cập nhật khi bài review đầy đủ được xuất bản.
VÌ SAO CHƯA CÓ REVIEW
TopGit viết bài đầy đủ cho repo có nhiều sao nhất và được yêu cầu nhiều nhất. Trang này là snapshot trong thời gian chờ — xem README gốc ở tab READ ME.
develop: next-release work, target this for new PRs
release/2.6.2: target this for fixes to 2.6.1
CocoaPods: trunk is going read-only, so 2.6.1 is the last KSCrash version on CocoaPods. Later versions ship through Swift Package Manager only.
KSCrash 2.6
The best open-source crash reporting framework for Apple platforms. Supports iOS, macOS, tvOS,
watchOS, and visionOS.
KSCrash catches Mach exceptions, signals, C++/ObjC exceptions, main thread hangs, and OS-level
terminations (OOM, thermal, CPU, reboot). It generates full Apple-format crash reports with every
field filled in.
If you are upgrading from 2.5.x, see the
migration guide.
For upgrades from 1.x, see the
1.x to 2.0 migration guide.
Quick Start
Install
SPM: Add https://github.com/kstenerud/KSCrash.git in Xcode (File > Add Packages), or in
Package.swift:
import KSCrashRecording // KSCrash for CocoaPods
let config = KSCrashConfiguration()
try KSCrash.shared.install(with: config)
That's it. KSCrash will catch crashes and store reports on disk. To send reports to a server, use an
installation. See KSCrashInstallation.h for details.
Features
See the Architecture and
Code Tour
wiki pages for how these work under the hood.
Hang Detection
The Watchdog monitor detects main thread hangs (250ms+) and captures full backtraces. Enable with
.watchdog in your monitor config. See KSCrash+Hang.h for real-time hang observation.
Termination Detection
Detects OS-level terminations (OOM, thermal, CPU, reboot) by comparing previous-run state at launch.
Query the result with KSCrash.shared.previousTerminationReason.
CPU Monitoring
Tracks CPU usage with sliding-window averages mirroring Apple's enforcement thresholds. Optionally
generates non-fatal reports on warning/critical transitions via enableCPUExceptionReporting.
Custom User Data
Store per-key data that persists across crashes via KSCrash+UserInfo.h. Uses an mmap'd key-value
store with zero crash-time overhead.
Additional Features
Profiler: Sampling profiler for thread backtraces (KSCrashProfiler module)
MetricKit: Apple diagnostic payload integration (KSCrashMonitors module)
Report: Strongly-typed Swift model for crash reports (KSCrashReportModel module)
Zombie Detection: Catches messages to deallocated objects
Memory Tracking: Real-time memory pressure monitoring via AppMemoryTracker
Crash Doctor: Automatic crash cause diagnosis
Custom Crashes: Report exceptions from scripting languages via reportUserException
Namespacing: Embed KSCrash in your own library without symbol clashes
For configuration options, see KSCrashConfiguration.h. For the full API, see KSCrash.h.
Deprecations in 2.6
Deprecated
Replacement
userInfo property
Per-key API in KSCrash+UserInfo.h
deadlockWatchdogInterval
KSCrashMonitorTypeWatchdog
enableSigTermMonitoring
Removed (always caught)
KSCrashMonitorTypeMainThreadDeadlock
KSCrashMonitorTypeWatchdog
KSCrashMonitorTypeMemoryTermination
KSCrashMonitorTypeTermination
KSCrashAppStateTrackerObserving
addObserverWithBlock:
crashNotifyCallback / reportWrittenCallback
isWritingReportCallback / didWriteReportCallback
See the
migration guide
for details and rationale.
Trang TopGit này là một snapshot — tab "Readme" hiển thị nguyên văn README của repo (đã bỏ link, giữ ảnh). Repo GitHub ở github.com/kstenerud/KSCrash là nguồn chính thức.
kstenerud/KSCrash có bao nhiêu sao?
kstenerud/KSCrash có 4.5k sao GitHub — tải lại trang để xem số mới nhất, hoặc xem trực tiếp github.com/kstenerud/KSCrash. TopGit phản chiếu số sao của GitHub nhưng không cam kết đến từng phút.
kstenerud/KSCrash có tag gì không?
Bản đồng bộ chưa ghi nhận topic GitHub nào cho kstenerud/KSCrash. GitHub topics hiển thị ở thanh bên phải trang repo — đó là nơi đáng kiểm tra nhất.
kstenerud/KSCrash còn đang phát triển không?
Commit gần nhất trên kstenerud/KSCrash là 8 ngày trước (theo timestamp GitHub). Repo có 744 fork — một chỉ báo về mức độ quan tâm của cộng đồng.
kstenerud/KSCrash viết bằng ngôn ngữ gì?
kstenerud/KSCrash chủ yếu viết bằng Objective-C. Trường "language" của GitHub dựa trên phần lớn byte ở nhánh mặc định.
Đọc đầy đủ README ở tab phía trên.
Muốn nghe thêm một ý kiến về KSCrash?
Hỏi một AI đọc được trang này — một cú bấm là có ngay nhận định về KSCrash.