You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
* Add comments in public definitions
* Add table of contents to `README.md`
* Rename `userAttributes` to `attributes`
* Update example projects
* Update Backtrace.podspec
* [Finding dSYMs while building project](#faq-finding-dsym-building)
104
+
* [Finding dSYMs while archiving project](#faq-finding-dsym-archiving)
105
+
92
106
# Features Summary <a name="features-summary"></a>
93
107
* Light-weight client library written in Swift with full Objective-C support that quickly submits exceptions/errors and crashes to your Backtrace dashboard includes:
94
108
* system metadata,
@@ -102,7 +116,7 @@ class AppDelegate: UIResponder, UIApplicationDelegate {
102
116
103
117
# Installation <a name="installation"></a>
104
118
105
-
## via CocoaPods
119
+
## via CocoaPods <a name="installation-cocoapods"></a>
106
120
107
121
To use [CocoaPods](https://cocoapods.org) just add this to your Podfile:
108
122
@@ -112,11 +126,10 @@ pod 'Backtrace'
112
126
113
127
**Note:** It is required to specify `use_frameworks!` in your Podfile.
114
128
115
-
# Documentation <a name="documentation"></a>
116
-
117
-
## Register with Backtrace credentials<a name="documentation-initialization"></a>
129
+
# Documentation <a name="documentation"></a>
118
130
119
-
Register to Backtrace services using provided submission url (see: <a href="https://help.backtrace.io/troubleshooting/what-is-a-submission-url">What is a submission url?</a>) and token (see: <a href="https://help.backtrace.io/troubleshooting/what-is-a-submission-token">What is a submission token?</a>).
Initializing Backtrace clinet requires registration to Backtrace services. You can register to Backtrace services using provided submission url (see: <a href="https://help.backtrace.io/troubleshooting/what-is-a-submission-url">What is a submission url?</a>) and token (see: <a href="https://help.backtrace.io/troubleshooting/what-is-a-submission-token">What is a submission token?</a>). These credentials you can supply using `BacktraceCredentials`.
BacktraceClient allows you to customize the initialization of BacktraceDatabase for local storage of error reports by supplying a BacktraceDatabaseSettings parameter, as follows:
161
174
162
175
- Swift
@@ -198,8 +211,8 @@ BacktraceClientConfiguration *configuration = [[BacktraceClientConfiguration all
`BacktraceClient` allows you to subscribe for events produced before and after sending each report. You have to only attach object which confirm to `BacktraceClientDelegate` protocol.
203
216
- Swift
204
217
```swift
205
218
// assign `self` or any other object as a `BacktraceClientDelegate`
Set attributes are attached to each report. You can specify unique set of attributes for specific report in `willSend(_:)` method of `BacktraceClientDelegate`. See [events handling](#documentation-events-handling) for more information.
Supplied files are attached for each report. You can specify unique set of files for specific report in `willSend(_:)` method of `BacktraceClientDelegate`. See [events handling](#documentation-events-handling) for more information.
257
289
258
290
## Sending an error report <a name="documentation-sending-report"></a>
259
291
Registered `BacktraceClient` will be able to send an crash reports. Error report is automatically generated based.
If you want to catch additional exceptions on macOS which are not forwarded by macOS runtime, set `NSPrincipalClass` to `Backtrace.BacktraceCrashExceptionApplication` in your `Info.plist`.
* Zip all the `dSYM` files and upload to Backtrace services (see: <a href="https://help.backtrace.io/product-guide/symbolification">Symbolification</a>)
309
341
310
-
### Finding dSYMs while archiving project
342
+
### Finding dSYMs while archiving project <a name="faq-finding-dsym-archiving"></a>
311
343
* Archive the project.
312
344
* dSYMs are placed inside of an `.xcarchive` of your project.
0 commit comments