MAUI- net7.0 Publish ios app fails

ov33700 0 Reputation points
2023-03-07T15:50:28.3066667+00:00

Hi all, and thank you for my first time here

I have almost completed my project which is a ios/android app written under maui net7.0. I really enjoyed writting it, but now is the hard time : publish.

whatever i do i get 2 error messages

1 : "Cannot execute process on server XMA IL Trimmer has encountered an unexpected error. Please report the issue at github...

Unable to create file "obj\ARM64\Release\net7.0-ios\ios_arm64\linked\Link.semaphore. unable to find part of the path ...obj\ARM64\Release\net7.0-ios\ios_arm64\linked\Link.semaphore"

2 : Xamarin.Shared.targets(532,3): error MSB4044: Task "CompileAppManifest" was not assigned value for required "DefaultSdkVersion".

My windows computer is properly coupled to the MAC, XCode is uptodate and ready

apple credentials are OK,

I can run my app on the MAC simulator,

I can run my app on an IPhone (connected to the MAC)

I followed several times Gerald Versluis (great Man, thanks) tutos on the sbject

thus i think that everything if OK, or at least i don't what wrong could be left.

Thanks again

Developer technologies .NET .NET MAUI
{count} votes

1 answer

Sort by: Most helpful
  1. ov33700 0 Reputation points
    2023-03-09T09:30:22.1266667+00:00

    I have only 1 XCode running,

    after many hours of struggle I found that my troubles were due to a bad library included in my project. it was targetting a wrong architecture, if i remove the lib it publishes without any error... the message is really not explicit !!!!

    thank you very much for having taken time to support.


Your answer

Answers can be marked as Accepted Answers by the question author, which helps users to know the answer solved the author's problem.