[英]xamarin IOS: Warning: App failed to install+launch
I am facing the issue below,hope some one will help me out. 我正面临以下问题,希望有人能帮助我。
I am Using visual studio 2019 to run the xamarin IOS project and paired to MAC succesfully, but the simulator has failed to launch the app and throws the exception below 我正在使用Visual Studio 2019运行xamarin IOS项目并成功与MAC配对,但是模拟器无法启动应用程序并在下面引发异常
System.Exception: Failed to launch the simulator: Could not find file "/Users/user/Library/Caches/Xamarin/mtbs/builds/TigrinyaDictionary.iOS/f5727f6bbdd6a791c1a56d7c269a65ff/bin/iPhoneSimulator/Debug/TigrinyaDictionary.iOS.app/TigrinyaDictionary.iOS" at Xamarin.Simulator.Core.Protocol.SimulatorClient.d__26.MoveNext() in E:\\A_work\\1703\\s\\Xamarin.Simulator.Core\\Protocol\\SimulatorClient.cs:line 293 --- End of stack trace from previous location where exception was thrown --- at System.Runtime.CompilerServices.TaskAwaiter.ThrowForNonSuccess(Task task) at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task) at System.Runtime.CompilerServices.TaskAwaiter.ValidateEnd(Task task)
System.Exception:无法启动模拟器:找不到文件“ /Users/user/Library/Caches/Xamarin/mtbs/builds/TigrinyaDictionary.iOS/f5727f6bbdd6a791c1a56d7c269a65ff/bin/iPhoneSimulator/Debug/TigrinyaDictionary.iOS.app/T。 X'的Ea:\\ A_work \\ 1703 \\ s \\ Xamarin.Simulator.Core \\ Protocol \\ SimulatorClient.cs:第293行的Xamarin.Simulator.Core.Protocol.SimulatorClient.d__26.MoveNext()引发异常的先前位置---在System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(任务任务)在System.Runtime.CompilerServices.TaskAwaiter.ValidateEnd(任务任务)在System.Runtime.CompilerServices.TaskAwaiter.ThrowForNonSuccess(任务任务) )
at Xamarin.Simulator.Windows.App.d__19.MoveNext() in E:\\A_work\\1703\\s\\Xamarin.Simulator.Windows\\App.xaml.cs:line 340 ErrorCode: 1008在Xamarin.Simulator.Windows.App.d__19.MoveNext()中的E:\\ A_work \\ 1703 \\ s \\ Xamarin.Simulator.Windows \\ App.xaml.cs:line 340错误代码:1008
It sounds like your build wasn't completed successfully (errors) and the produced App bundle is incorrect. 听起来您的构建未成功完成(错误),并且产生的App包不正确。
/Users/user/Library/Caches/Xamarin/mtbs/builds/TigrinyaDictionary.iOS
. /Users/user/Library/Caches/Xamarin/mtbs/builds/TigrinyaDictionary.iOS
。 Check for completeness. If none of that works, you can report a problem directly in the IDE and that will open a feedback ticket with the Xamarin team. 如果这些都不起作用,则可以直接在IDE中报告问题 ,这将打开Xamarin团队的反馈单。
Please add your full build logs (critical for an issue like this), ideally test project to reproduce and all product version information. 请添加完整的构建日志(对于此类问题至关重要),最好是测试要复制的项目以及所有产品版本信息。
声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.