Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

The xcframework sentry.bindings.cocoa\5.0.1\lib\net8.0-ios17.0\Sentry.Bindings.Cocoa.resources.zip has an incorrect or unknown format and cannot be processed. #3889

Open
imsam67 opened this issue Jan 14, 2025 · 3 comments

Comments

@imsam67
Copy link

imsam67 commented Jan 14, 2025

Package

Sentry

.NET Flavor

.NET

.NET Version

9.0.102

OS

iOS

SDK Version

5.0.1

Self-Hosted Sentry Version

No response

Steps to Reproduce

When I try to build my .NET MAUI app targeting .NET 9, I get the following error message and the build fails.

The xcframework C:\Users\sam.nuget\packages\sentry.bindings.cocoa\5.0.1\lib\net8.0-ios17.0\Sentry.Bindings.Cocoa.resources.zip has an incorrect or unknown format and cannot be processed.

Any suggestions on how to address this issue?

Expected Result

The app should just build

Actual Result

Fails with the message above

@getsantry getsantry bot moved this to Waiting for: Product Owner in GitHub Issues with 👀 3 Jan 14, 2025
@imsam67 imsam67 changed the title The xcframework C:\Users\sam\.nuget\packages\sentry.bindings.cocoa\5.0.1\lib\net8.0-ios17.0\Sentry.Bindings.Cocoa.resources.zip has an incorrect or unknown format and cannot be processed. The xcframework sentry.bindings.cocoa\5.0.1\lib\net8.0-ios17.0\Sentry.Bindings.Cocoa.resources.zip has an incorrect or unknown format and cannot be processed. Jan 14, 2025
@jamescrosswell
Copy link
Collaborator

Hi @imsam67 - thanks for getting in touch.

I don't see the same behaviour here. Is there any chance you could provide a small sample app that demonstrates this behaviour?

@rodolfoBee
Copy link
Member

Same issue has been reported via support.

@getsantry getsantry bot moved this to Waiting for: Product Owner in GitHub Issues with 👀 3 Feb 11, 2025
@mads195
Copy link

mads195 commented Feb 11, 2025

We have the same issue (reported via support as per @rodolfoBee comment above) albiet .NET 8. but wanted to add some info about this issue that we've discovered. We've been chatting with a couple of others on Discord too but in the interests of consolidated info, will update here.

Our main dev environments are Win11P boxes, Visual Studio 2022 v17.12.4. We replicated this issue with a directly connected iPhone 13 running iOS 18.1.1. The issue always occurs when running debug to a directly connected iPhone.

The issue does not occur when debugging/building to a simulator hosted on a Mac (where the Win11P box is connected to that Mac. The issue also does not occur when debugging/building the App directly on the Mac to an iPhone which is connected to that Mac. Both Android and iOS builds (local) work when local simulator is selected.

We've tried with and without Hot Reload enabled (Debug > Options > Debugging > XAML Hot Reload) but no effect on the outcome.

Hopefully some of that is useful! It's something to do with the environment and does seem to center around debugging on a directly connected device.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
Status: No status
Status: Waiting for: Product Owner
Development

No branches or pull requests

4 participants