Error: error MT: Failed to launch the simulator. MT0069: The app directory doesn't exist

I use in order to develop cross platform application in xamarin forms but I have an issue. I use vs 2015 enterprise. There is a problem, when I simulate my application on iphoneSimulator. I selected "Configuration" mode as Debug and "Platform" mode as IphoneSimulator. In Windows side I use Xamarin.ios 11.2 and macbook side is same xamarin.ios sdk too. And I can connect windows to macbook successfully. I use xcode version 9.2.

When I run my application,

Launch failed. The app 'ADF.XPF.iOS' could not be launched on 'iPhone 5s iOS 11.2'. Error: error MT0069: The app directory '/Users/yazilim/Library/Caches/Xamarin/mtbs/builds/ADF.XPF.iOS/3d07b519b07c870401ed8b5058cf1d91/bin/iPhoneSimulator/Debug/trgovegmmobil.app' does not exist.

Can you help me about it ?

Upvotes: 5

Views: 3247

Answers (4)

XavierHdz
XavierHdz

Reputation: 71

I hope this is helpful for somebody.

I had the same problem.

enter image description here

The message says that some folder of the path does not exists, so in my case i went to the MAC and i realized than the folder mtbs was not created.

enter image description here

Solution

Create the missing folder

enter image description here

After that clean, rebuild and launch the application again.

Upvotes: 1

ColeX
ColeX

Reputation: 14475

I also met this before.

1.Delete the app in simulator

2.Delete bin,obj folder

3.Run again

This should solve the problem.

Upvotes: 8

fractal4
fractal4

Reputation: 51

I had a similar problem, nothing helped until I manually added the Xamarin.Build.Download package version 0.10.0

YourApp.iOS.csproj:

<PackageReference Include = "Xamarin.Build.Download" Version = "0.10.0" />

Upvotes: 0

Adam Diament
Adam Diament

Reputation: 4840

The accepted answer did not work for me. I took a slightly more radical reproach, and re-cloned my entire GitHub repository on my windows machine. I didn't change anything on the mac, and it worked first time.

Upvotes: 0

Related Questions