getsentry/sentry-cocoa

Xcode 16 beta: Validation completed with warnings

Opened this issue · 5 comments

Platform

iOS

Environment

Other

Installed

Swift Package Manager

Version

8.29.0

Xcode Version

16.0 beta 16A5171c

Did it work on previous versions?

yes, latest 15 version

Steps to Reproduce

1 archive build
2 click on validation button in organizer

I've tried with both The Sentry, Sentry dynamic, and sentry swift ui library.
I've also tried to reinstall with the wizard
I've also tried clearing the cache and the derived data.

Expected Result

validate without warnings

Actual Result

Upload Symbols Failed
The archive did not include a dSYM for the Sentry.framework with the UUIDs [17023652-04E3-34E2-8E8B-4F74918EDD6E]. Ensure that the archive's dSYM folder includes a DWARF file for Sentry.framework with the expected UUIDs.

Are you willing to submit a PR?

No response

Thanks @andr-ec for reaching out.
This is interesting, Apple probably have a new process to upload Symbols in their own validate process.
We will need to investigate this with Xcode 16.

I can reproduce the problem by using SPM in our iOS-Swift sample app and validating it as described above. I committed the changed to a branch https://github.com/getsentry/sentry-cocoa/tree/repro/4068.

CleanShot 2024-06-14 at 10 20 10@2x

Both XCArchives from Xcode 15 and Xcode don't contain dSYMs for Sentry in the dSYMs folder. So, I guess this is a new warning in Xcode 16.

@andr-ec, have you encountered any actual problems after seeing this warning? Maybe it's a bug in Xcode.

We need to check whether this has anything to do with the "new" Dwarf 5 standard of Xcode 16.