sentry-cli: Using `upload-dif` results in Serde("missing field `CFBundleName`")
Environment
macOS 12.4 Xcode 13.4.1, iOS app for min iOS 13 sentry-cli 2.5.0 installed via homebrew
Steps to reproduce
sentry-cli upload-dif -o ORG -p PROJECT --wait --log-level=debug ./AppName.app.dSYM.zip
Expected Result
Debug information files uploaded to Sentry.
Actual Result
error: Could not parse Info.plist file caused by: Serde("missing field CFBundleName")
About this issue
- Original URL
- State: closed
- Created 2 years ago
- Reactions: 2
- Comments: 25 (9 by maintainers)
@danielrobleM can you provide a concrete repro for this? I verified using @artur-zaremba repro, which had the same bug, and it’s fixed now for his case.
Got the repro, found the issue, working on the fix
I have just created new project, added SPM library and added initialization code in AppDelegate.swift. Then I uploaded it to TestFlight, downloaded dSYM and tried upload it via
sentry-cli upload-dif- the error is the same. I have sent you invite to the project, please check @brustolinHey @artur-zaremba I’ve encountered the same issue when using fastlane plugin. What helped me was to copy & paste all bundle related information from the “autogenerated” Info.plist (I am using this “semi sync” approach) into the new local file. Now my “local” Info.plist file looks like this:
This sill feels like a workaround rather then a real solution but at least it unblocked me.