Error trying to deploy to iphone and andriod

rick ruhl 61 Reputation points
2021-10-01T21:12:00.883+00:00

Iphone 6a or 7s 14.7.1 IOS
Visual Studio 02019 16.11.3
Xcode 13 Mac OS.X Big Sur

When we compile and try to deploy to either iphone, in debug mode, we get the following error message

C:\Program Files (x86)\Microsoft Visual Studio\2019\Community\MSBuild\Xamarin\iOS\Xamarin.iOS.Common.After.targets(171,3): error : There was an error unzipping the file bin\iPhone\Debug\device-builds\iphone8.2-14.7.1/dealerpreviews.iOS.app.dSYM.zip: Could not find a part of the path 'D:\mobile_dev\dealerpreviews\dealerpreviews\dealerpreviews.iOS\bin\iPhone\Debug\device-builds\iphone8.2-14.7.1\dealerpreviews.iOS.app.dSYM\bin\iPhone\Debug\device-builds\iphone8.2-14.7.1\dealerpreviews.iOS.app.dSYM\Contents\Resources\DWARF\DotNetZip-szoufuw4.tmp'.

In release mode it hangs at this point.

Deploying 'dealerpreviews.iOS'

and ye,s I have cleaned, deleted the bin and obj folders and restarted VC and the machine.

Whats the best way to fix

Xamarin
Xamarin
A Microsoft open-source app platform for building Android and iOS apps with .NET and C#.
5,372 questions
{count} votes

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.