getsentry / sentry-cocoa

The official Sentry SDK for iOS, tvOS, macOS, watchOS.
https://sentry.io/for/cocoa/
MIT License
783 stars 313 forks source link

Xcode 16 beta: Validation completed with warnings #4068

Open andr-ec opened 1 month ago

andr-ec commented 1 month ago

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

brustolin commented 1 month ago

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.

philipphofmann commented 1 month ago

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

philipphofmann commented 1 month ago

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.

philipphofmann commented 1 month ago

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

brustolin commented 1 month ago

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