Visual Studio Xamarin Forms 应用程序无法在 iPhoneSimulator 上启动

Visual Studio Xamarin Forms App cannot launch on iPhoneSimulator

我有很多应用程序都可以正常启动。一个没有,它是在完成 Azure 教程时从 Microsoft 网站下载的。在远程 mac 上的 iphonesimulator 上调试时,我得到:

error HE0046: Failed to install the app 'com.xamarin.sample.smallmobileapp' on the device 'iOS 11.3 (15E217) - iPad Air 2': lstat of /Users/monsieur/Library/Caches/Xamarin/mtbs/builds/smallmobileapp.iOS/01bbf475e45afc9c75bdb4bb54d7386e/bin/iPhoneSimulator/Debug/smallmobileappiOS.app failed: No such file or directory 0

我导航到该文件夹​​并发现:

我尝试删除 obj/bin 文件,重置 ios 配置,清理解决方案/重建。没什么只是一个知道的混蛋反应,但我意识到这是一个概率 mac 方面。

关于如何最好地解决这个问题有什么想法吗?谢谢!

已删除文件夹:

/Users/monsieur/Library/Caches/Xamarin/mtbs/builds/smallmobileapp.iOS/

重新部署到 iphonesimulator。

一切顺利!查看文件顶部的禁止进入标志,看起来它与访问有关。孩子们使用 mac 所以也许我无意中用不同的帐户做了第一个构建。无论如何,现在一切都很好。