c# – Xamarin IOS Construct Error “Extracting Zip entry would have resulted in a file outdoors the required vacation spot listing.”


I’m making an attempt to construct a brand new IOS launch and get the next error:-
“C:Program FilesMicrosoft Visible Studio2022ProfessionalMSBuildXamariniOSXamarin.iOS.Widespread.After.targets(80,3): error : There was an error unzipping the file biniPhoneAppStoreAppBundleMyApp.zip: Extracting Zip entry would have resulted in a file outdoors the required vacation spot listing.”

The output line that generates this error is:-
“/usr/bin/zip -r /Customers/fred/Library/Caches/Xamarin/mtbs/builds/MyApp/ca830d1e9af62a1e18d114cf402fd82be9cb814135209657390ffb486f0d0ee4/bin/iPhone/AppStore/AppBundle/MyApp.zip ../MyApp.app”

It seems that moderately than going again to the guardian listing after which zipping the “MyApp.app” listing, the method is creating a zipper file with “..” as the basis listing with “MyApp.app” as a sub listing, which explains the above error.

I can deploy a debug construct to a tool, however I can not construct an AppStore launch or do an Archive course of. My mission beforehand constructed positive utilizing Visible Studio 2019, however I needed to improve to get a certificates repair that was solely corrected in Visible Studio 2022.

Is there any recognized fixes for this challenge?

Utilizing
Visible Studio v17.3.1
Xamarin v5.0.0.2515
on an Home windows 11 machine

Compiling in opposition to
macOS Monterey v12.5.1
Xcode v13.4.1

Similar Posts

Leave a Reply

Your email address will not be published.