-
-
Notifications
You must be signed in to change notification settings - Fork 223
Closed
Labels
Description
TLDR;
- This is a regression reported in the Xarain repo in October 2023: Regression: error : strip exited with code 139 dotnet/macios#19157
- Rolf Kvinge submitted a PR with a fix
- This has been addressed in Xcode 16.2
Package
Sentry
.NET Flavor
.NET
.NET Version
8.0.8
OS
iOS
SDK Version
4.10.2
Self-Hosted Sentry Version
No response
Steps to Reproduce
- Install Xcode 16 using Xcodes
- Set Xcode 16 active (
sudo xcode-select -s /Applications/Xcode-16.0.0.app/Contents/Developer
) - Install .NET 8 tools with Xcode 16 support (see here)
- Create new iOS app (
dotnet new ios
) - Add latest Sentry SDK (v4.10.2) from NuGet
dotnet publish
Expected Result
The app builds
Actual Result
Error while building:
/usr/local/share/dotnet/packs/Microsoft.iOS.Sdk.net8.0_18.0/18.0.8287-xcode16/tools/msbuild/iOS/Xamarin.Shared.targets(2848,3): error : strip exited with code 139
This issue has been discussed previously here and a PR was created here (but not accepted yet).
For some reason, I was successful building my app successfully yesterday with the same tooling & Sentry version, but not today. It now consistently fails with every test project if I have the Sentry SDK added to, and it succeeds consistently when I remove it.
Metadata
Metadata
Assignees
Labels
Projects
Status
Done
Status
No status