I use a visual studio running in parallel on a Mac. The Mac functions as my build server for iOS. I am trying to get debugging that works with a visual studio for both the simulator (iPad Air iOS 9.3) and the actual device (actually iPad Air). At this point, it may be useful to focus on the simulator first.
When I try to run on a simulator (iPad Air) from a visual studio or on a real device, my application runs on a device or simulator before the visual studio seems to hang for a few moments, eventually reporting the following error message:
We were unable to find the application you are trying to debug. Make sure the device> is connected, woken up and unlocked. Also, make sure it has Web> Inspector turned on.
The device is connected. In the case of the simulator, there is no device to connect.
The device is awake and unlocked. In the case of a simulator, there is nothing to wake or unlock. The application starts while the visual studio is still debugging just before the error message is returned.
I checked and double checked that the web inspector is enabled on both the device and safari on the Mac. I can run the build from XCODE and debug through Safari.
It seems unusual that the application does open in the simulator before the visual studio returns with the error that it cannot find the application. If the visual studio cannot find the application, then why did it start?
I would be very grateful for any help.
Wednesday [Updated]
I am using a MacBook Pro running Windows 10 in Parallels.
Windows configuration
- Visual Studio 2015 Update 2
- Cordoba 6.1.1
- TACO Updated 8.1
- Node 6.0.0
MacBook Pro Configuration
- Cordoba 6.1.1
- Node 6.0.0
- iPad Mini 2 runs iOS 9.2 (13C75)
- iPad Air 2 works 9.2.1 (13D15)
Update 1: I installed the visual update for Studio 2 and still get the same error message. I appreciate the offer though!
Update 2: Thank you for your suggestion. I edited the configuration, changed the timeout settings, and restarted the build server as suggested. The error associated with the real device was replaced by a warning with the same result. The simulator supports the same error.
Now the warning reads:
Completing the launch of the application. Check your network connection and try again. If you start the device, make sure that the web inspector> is installed on it.
I have a web inspector enabled. It seems that the visual studio does not wait a full minute before returning with an error or warning. Also, the visual studio environment seems to freeze (not responding) when it tries to connect to a device or simulator.
I also tried using multiple networks and getting the same results.
Is there any additional information I can provide that might be helpful?
Update 3:
Any other suggestions or additional information I can provide? I'm really at a standstill. Fortunately, this is not a showstopper, as I can do some debugging in safari when deploying to the device, but it is frustrating.
Is it typical for visual studio to freeze when trying to connect to a device for debugging?
I also do not think that visual studio is waiting for the full duration of the timeout settings that have been configured.
I updated every dependency that I can think of, and made sure that the versions of the cord correspond to ios and windows. I'm at a dead end ...