Hello,
I am encountering an issu when i am publishing, creating the archive of my maui application, i have the given error
16:02:09:546 Cannot create an IOS archive 'MT.TimeClean.Client.ForNative'. Process cannot be executed on XMA server.
16:02:09:546 The "Unzip" task failed unexpectedly.
16:02:09:546 System.NotSupportedException: The given path's format is not supported.
16:02:09:546 at System.Security.Permissions.FileIOPermission.EmulateFileIOPermissionChecks(String fullPath)
16:02:09:546 at System.IO.Directory.InternalCreateDirectoryHelper(String path, Boolean checkHost)
16:02:09:546 at Xamarin.MacDev.CompressionHelper.TryDecompressUsingSystemIOCompression(TaskLoggingHelper log, String zip, String resource, String decompressionDir) in /Users/builder/azdo/_work/1/s/xamarin-macios/msbuild/Xamarin.MacDev.Tasks/Decompress.cs:line 200
16:02:09:546 at Xamarin.MacDev.CompressionHelper.TryDecompress(TaskLoggingHelper log, String zip, String resource, String decompressionDir, List`1 createdFiles, String& decompressedResource) in /Users/builder/azdo/_work/1/s/xamarin-macios/msbuild/Xamarin.MacDev.Tasks/Decompress.cs:line 104
16:02:09:546 at Xamarin.MacDev.Tasks.Unzip.ExecuteLocally() in /Users/builder/azdo/_work/1/s/xamarin-macios/msbuild/Xamarin.MacDev.Tasks/Tasks/Unzip.cs:line 61
16:02:09:546 at Xamarin.MacDev.Tasks.Unzip.Execute() in /Users/builder/azdo/_work/1/s/xamarin-macios/msbuild/Xamarin.MacDev.Tasks/Tasks/Unzip.cs:line 43
16:02:09:546 at Microsoft.Build.BackEnd.TaskExecutionHost.Microsoft.Build.BackEnd.ITaskExecutionHost.Execute()
16:02:09:546 at Microsoft.Build.BackEnd.TaskBuilder.<ExecuteInstantiatedTask>d__26.MoveNext()
I already read some articles and it seems that there is an issue with the path length so i changed some:
- the "TEMP" from environments variables that looks like something like this "C:\TEMP"
- the "TMP" from environments variables that looks like something like this "C:\TEMP"
- And the one where the xamarin archive are stored, and it looks like this now "C:\Archives"
Does someone know what i can do to resolve it?
Thanks!