[英]Launch iOS simulator from Visual Studio with Xamarian
How can I launch an iOS simulator from Visual Studio? 如何从Visual Studio启动iOS模拟器? I'm working on Windows but have Visual Studio connected to my mac so I can develop a cross platform app.
我在Windows上工作,但已将Visual Studio连接到我的Mac,因此可以开发跨平台应用程序。
I can successfully launch the iOS app to the iPad that is plugged into the Mac but can't figure out how to launch a simulator (I just want to test everything is loading good on different screens). 我可以在插入Mac的iPad上成功启动iOS应用程序,但不知道如何启动模拟器(我只是想测试在不同屏幕上加载的一切是否正常)。 When I set my
Solution Platform
to iPhoneSimulator
and my startup project
to myApp.iOS
and click start I get the error message... Please select a valid device before running the application.
当我将我的
Solution Platform
设置为iPhoneSimulator
并将我的startup project
为myApp.iOS
并单击“开始”时,我收到错误消息... Please select a valid device before running the application.
On the Mac open a terminal and enter: ps -eax Xamarin Get the pid of the IDB.exe process Kill it: Kill 123456 (Replace 123456 with the pid) Wait a few seconds, vs drop down should fill. 在Mac上,打开一个终端,然后输入:ps -eax Xamarin获取IDB.exe进程的pid杀死它:Kill 123456(用pid替换123456)等待几秒钟,vs下拉列表应该会填满。
Up vote if it worked. 如果可行,请进行投票。
Ran into the same problem after I'd just installed the iOS simulator for Windows VS; 我刚为Windows VS安装iOS模拟器后遇到了同样的问题; restarted VS and the networked Mac and the drop-down filled.
重新启动了VS,联网的Mac和下拉列表被填充。
声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.