getsentry / sentry-cocoa

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

fix: Clang error for Xcode 15.4 #3958

Closed brustolin closed 3 weeks ago

brustolin commented 3 weeks ago

:scroll: Description

The hacky solution introduced in the PR https://github.com/getsentry/sentry-cocoa/pull/3774 is breaking compilation for Xcode 15.4

This solution will keep both Xcode 15 (.3 and .4) working.

I believe we can remove the version replacement after a few months after Xcode 15.4 release.

:bulb: Motivation and Context

closes #3947

:green_heart: How did you test it?

Samples

:pencil: Checklist

You have to check all boxes before merging:

:crystal_ball: Next steps