xamarin / xamarin-macios

.NET for iOS, Mac Catalyst, macOS, and tvOS provide open-source bindings of the Apple SDKs for use with .NET managed languages such as C#
Other
2.49k stars 515 forks source link

Xamarin.Forms.Visual.Material paths too long when doing iOS archiving with Visual Studio 2022 #14974

Closed vsfeedback closed 2 years ago

vsfeedback commented 2 years ago

This issue has been moved from a ticket on Developer Community.


Archiving my iOS Xamarin Forms app is failing because my path is over 260 characters long. I have fixed this previously by changing the Archives location to C:\Xamarin instead of the AppData\Local\Temp directory. That is still set and shows in my log that it is beign picked up for the archive but NOT for the files extracted from the zip. The extracted files are still being put in temp.

Cannot create an IOS archive ‘App.iOS’. Process cannot be executed on XMA server. There was an error unzipping the file C:\Xamarin\2022-03-31\12345678.zip: Coupd not find a part of the path ‘C:\Users\xxxxxxx\AppData\Local\Temp\Xamarin\Extractions\a7c52444-e3f3- 43cd-9f5d-3120f6a9678a\Delivery.iOS 3-31-22 5.13 PM.xcarchive\Products\Applications\App.iOS.app\Frameworks\MaterialComponents.framework\MaterialIcons_ic_help_outline.bundle\ic_help_outline.png’


Original Comments

Feedback Bot on 4/27/2022, 07:12 PM:

(private comment, text removed)

Roi Chen -MSFT [MSFT] on 4/28/2022, 01:44 AM:

(private comment, text removed)

Ryan Watson on 4/28/2022, 02:03 PM:

(private comment, text removed)

Feedback Bot on 4/29/2022, 03:59 AM:

(private comment, text removed)


Original Solutions

(no solutions)

chamons commented 2 years ago

Moving back to devcom.