sentry-cocoa: No automatic Crash upload
Platform
iOS
Installed
CocoaPods
Version
8.5.0
Steps to Reproduce
- First, I registered the SentrySDK in the first line of the
application(_:, didFinishLaunchingWithOptions:)method:
public func start(environment: String? = nil, release: String? = nil) {
guard !SentrySDK.isEnabled else { return }
SentrySDK.start {
$0.dsn = Config.sentry.dsn
$0.debug = !Bool.isRelease
$0.attachScreenshot = true
$0.attachViewHierarchy = true
$0.releaseName = release ?? Bundle.sak.shortVersionString()
$0.dist = Bundle.sak.bundleVersionString()
if let environment = environment {
$0.environment = environment
}
}
}
- Running App on iPhone XS Max with 14.7.1.
- Click a pre-set button that executes the
SentrySDK.crash()method after the button is clicked.
Expected Result
App crashes and receives a crash log in our self-built Sentry panel.
Actual Result
The app crashes, but the web panel is empty.
I’ve tried calling the capture() method and manually reporting an NSError, and it shows up immediately in the web panel.
I also get WatchdogTermination in the web panel, but the only thing that doesn’t show up is the crash.
Are there any configurations that would affect this behavior? Any help would be appreciated, thanks.
About this issue
- Original URL
- State: closed
- Created a year ago
- Comments: 17 (8 by maintainers)
CFBundleDisplayNameandCFBundleName. One of the possibleCFBundleNameis the key factor.