-
Notifications
You must be signed in to change notification settings - Fork 19
Closed
Labels
bugSomething isn't workingSomething isn't workingdependenciesSomething caused-by/related-to third-party dependenciesSomething caused-by/related-to third-party dependencies
Description
Describe the bug
App will terminate with the following message:
Message from debugger: Terminated due to signal 5
This occurs on the line that instantiates a RollbarPLCrashCollector:
let crashCollector = RollbarPLCrashCollector()
To Reproduce
Steps to reproduce the behavior:
- Add RollbarNotifier, RollbarPLCrashReporter, RollbarSwift cocopods v2.0.0-beta9 to Podfile, install
- Add sample Swift code from docs into AppDelegate:
import RollbarNotifier
import RollbarPLCrashReporter
...
func application(_ application: UIApplication,
didFinishLaunchingWithOptions launchOptions: [UIApplication.LaunchOptionsKey: Any]?) -> Bool {
let config = RollbarConfig()
config.destination.accessToken = "..."
config.destination.environment = "..."
let crashCollector = RollbarPLCrashCollector()
Rollbar.initWithConfiguration(config, crashCollector: crashCollector)
....
}
Expected behavior
App will launch successfully.
Screenshots
N/A
Rollbar-Apple SDK version: v2.0.0-beta9
Calling the SDK from (x-mark all suitable):
[] Objective-C
[x] Swift
[] Other:
Runtime environment (please complete the following information as applicable):
- Device: MacBook Pro 16"/iOS Simulator iPhone 12
- OS: iOS
- OS version: 14.3
Metadata
Metadata
Assignees
Labels
bugSomething isn't workingSomething isn't workingdependenciesSomething caused-by/related-to third-party dependenciesSomething caused-by/related-to third-party dependencies