Skip to content

Commit a6ea7a2

Browse files
committed
Update README.md
1 parent 8dff929 commit a6ea7a2

File tree

1 file changed

+5
-0
lines changed

1 file changed

+5
-0
lines changed

README.md

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -50,6 +50,11 @@ struct MyApp: App {
5050
> [!CAUTION]
5151
> Recording crash to logs only works when xcode is detached. Run the app directly from the system without xcode attached or press "debug" -> "detach from xcode" if you run the app from xcode. Run the app from xcode after a crash and see the crash log being sent to the server.
5252
53+
### Installation
54+
```swift
55+
.package(url: "https://github.com/sentryco/CrashKit", branch: "main")
56+
```
57+
5358
### Real-device vs Simulator vs Unit-test
5459
1. On Device: This will work effectively on actual iOS devices. Uncaught exceptions, such as those thrown by Objective-C code or unhandled NSExceptions, will be captured by this handler.
5560
2. In Simulator: The behavior in the simulator should be similar to that on an actual device. The simulator is designed to emulate the behavior of iOS hardware closely, including the handling of exceptions. However, there might be slight differences in how some low-level system interactions occur.

0 commit comments

Comments
 (0)