Why is Visual Studio TACO unable to find the app I am trying to debug?

≯℡__Kan透↙ 提交于 2019-12-05 04:32:17

I increased the amount of memory available to the Windows 10 VM from 4GB to 5GB and the debugger is now attaching as expected without error.

I am posting this in the event it is helpful to someone else.

Jordan Matthiesen

What you're seeing may be the result of a timeout in the remotebuild tools, this can happen for a variety of reasons (including general network performance). Take a look at the following answer to another post (Apache Cordova/Visual Studio 2015 tools fails to launch app in IOS simulator) for some guidance re: how to change the timeouts

  • first run remotebuild saveconfig in macos terminal
  • Open the RemoteBuild.config file in the Text Editor from the path of the previous step
  • Change value of appLaunchStepTimout to 60000 (1 min)
  • Change value of emulatorLaunchTimeout to 60000 (1 min)
  • Save the file
  • run remotebuild on terminal
  • Run the project from Visual studio again

I have across the same error occasionally, but it has been happening a lot less with the latest VS 2015, Update 2 TACO Update 8.1 - If you can update to that level (VS2015 Update 2), it may resolve the issue for you.

I still occasionally see this error with Update 2. But, it usually happens on a non-incremental (full) iOS build and appears to be timing related. Update 2 fixes many issues though, so I recommend that you upgrade.

Edit2: The issue manifested itself one more time, so it wasn't a definitive fix, but it works fine for the most part now.

Edit: I have reset the iPad settings from Settings -> General -> Reset -> Reset all Settings and now it seems to work.

I have the exact same problem when testing on my iPad 1, but it works on my iPhone 6. They are both running iOS 9. I don't have any other iOS devices to test on, so I can't draw any exact conclusions from this.

I faced the same problem as you. and I just tried to change from debug to release and everything is solved. and i can do debugging to. it is strange solution but on the error it says that it cannot just debug so that's why i thought about this.

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!