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 C:\Users\Admin\.nuget\packages\raygun4maui.platform\1.0.2\lib\net7.0-ios16.1\Raygun4Maui.Binding.NetworkMonitor.iOS.resources.zip has an incorrect or unknown format and cannot be processed. #26

Open
AliRafay opened this issue Jan 10, 2025 · 11 comments

Comments

@AliRafay
Copy link

The xcframework C:\Users\Admin.nuget\packages\raygun4maui.platform\1.0.2\lib\net7.0-ios16.1\Raygun4Maui.Binding.NetworkMonitor.iOS.resources.zip has an incorrect or unknown format and cannot be processed.

@ProRedCat
Copy link
Contributor

Could I get some more information off you on your development setup

I have seen this error before but it has been due to building for an iPhone on Windows directly.

We use a native binding library to do the XHR monitoring in RUM. Because this is an xcframework file we need to build it either paired with a Mac or on a Mac.

@AliRafay
Copy link
Author

First I was trying directly on an iPhone, then I also tried pairing with a Mac, still got the same error.

@ProRedCat
Copy link
Contributor

Do you see the same error when building on the Mac directly?

@AliRafay
Copy link
Author

I am building on Windows that is paired to a Mac. How can I build on Mac directly? POV: I am not a Mac experienced user.

@ProRedCat
Copy link
Contributor

You'd want to get a copy of your app's codebase onto your Mac. Then you'll want to use the IDE of your choice to build the project. It's pretty much the same as building on Windows but you're directly using the Mac instead of pairing to it

@AliRafay
Copy link
Author

Since Visual Studio doesn't have support on Mac, which IDE do you suggest? If I use VSCode, what dependencies will I need in order to properly run a MAUI app.

@ProRedCat
Copy link
Contributor

I personally use Rider, perhaps you could try using Rider on Windows first to see if you get a different result.

Rider is also support on MacOS. For the setup you'll need to follow the same steps as you would on a Windows machine where you get the dotnet workloads for MAUI, have Java installed etc..

Though setting up MAUI is a bit time intensive, so it would probably be better to confirm that you are paired to the Mac on Visual Studio while building?

Also what version of Raygun4Maui are you using

@AliRafay
Copy link
Author

AliRafay commented Jan 10, 2025 via email

@ProRedCat
Copy link
Contributor

Hmm that is quite odd, I personally haven't encountered this error but I do know of it. One time it was resolved as the person was trying to build for an iPhone on Windows without a paired Mac, and another time it was solved by using v2.2.0 - but I think this was solved by some development setup change.

I'll have a think about this and get back to you, in the mean time perhaps you could discuss with the main developer to see what differences you two have in your setup that would cause it to work for him and not you

@ProRedCat
Copy link
Contributor

Just checking in on this issue again, have you been able to solve this?

@AliRafay
Copy link
Author

AliRafay commented Jan 16, 2025 via email

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants