sentry-cocoa icon indicating copy to clipboard operation
sentry-cocoa copied to clipboard

Failed to Build in XCode 16 using Sentry 8.17.1

Open jimmy-sqe opened this issue 1 year ago • 2 comments

Platform

iOS

Environment

Develop

Installed

Swift Package Manager

Version

8.17.1

Xcode Version

16.0

Did it work on previous versions?

No response

Steps to Reproduce

Hallo, in my project, I have to use Sentry 8.17.1, cannot be upgraded to newer, but I have to run on XCode 16 as well. Is there a way to support XCode 16 to be able to build the project without upgrading Sentry? by using script or some other workaround, Thank you.

Expected Result

Build successful using Sentry 8.17.1 and XCode 16

Actual Result

cannot build project

Are you willing to submit a PR?

Yes if may

jimmy-sqe avatar Sep 27 '24 09:09 jimmy-sqe

We fixed some errors in the last versions of Xcode 16. What error do you get exactly? Maybe we can find a workaround for 8.17.1.

philipphofmann avatar Sep 27 '24 11:09 philipphofmann

Most likely this is related to some missing headers.

If that's the case you can download the 8.17.1 code source, apply the changes in this PR and the fix to Sources/SentryCrash/Recording/Tools/SentryCrashMachineContext.c in this PR

brustolin avatar Sep 27 '24 12:09 brustolin

This issue has gone three weeks without activity. In another week, I will close it.

But! If you comment or otherwise update it, I will reset the clock, and if you remove the label Waiting for: Community, I will leave it alone ... forever!


"A weed is but an unloved flower." ― Ella Wheeler Wilcox 🥀

getsantry[bot] avatar Oct 24 '24 07:10 getsantry[bot]