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

Unable to compile for IOS for .net maui 8 #159

Open
mancda opened this issue Dec 12, 2023 · 2 comments
Open

Unable to compile for IOS for .net maui 8 #159

mancda opened this issue Dec 12, 2023 · 2 comments

Comments

@mancda
Copy link

mancda commented Dec 12, 2023

Describe the bug

I have recently upgraded my Maui app to use .net 8 but one of my Nuget packages will not build for iOS (builds for Android just fine). I am getting the following error.

The xcframework C:\Users\Danie.nuget\packages\branch-xamarin-linking-sdk\9.0.1\lib\net6.0-iOS11.0\BranchSDK.iOSBinding.resources.zip has an incorrect or unknown format and cannot be processed. ChronicleMobileApp C:\Program Files\dotnet\packs\Microsoft.iOS.Sdk\17.0.8478\tools\msbuild\iOS\Xamarin.Shared.targets

Steps to reproduce

1.Create new MAUI app using latest version of VS and .net 8 target
2. Run program for IOS device
3.

Expected behavior

project compiles

SDK Version

9.0.2

Make and Model

iPhone 14

OS

iOS 17

Additional Information/Context

No response

@borrmann
Copy link

I have the same issue since changing my development machine from AMD to Intel chip

@mancda
Copy link
Author

mancda commented Oct 27, 2024

Hello borrman,

The problem for me was fixed when I moved by project to a shorter path. I believe this cause of this bug is the 255 max file length issue on Visual Studio.

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

No branches or pull requests

2 participants