Latest Xamarin Profiler (1.5.5-10) appears to be broken, cannot connect to app on device

Rob.0184Rob.0184 USUniversity ✭✭
edited August 15 in Profiler

Hi - just upgraded to the latest version of VS for Mac (7.1 b1297) and Xamarin Profiler (1.5.5-10), and I'm no longer able to get Xamarin Profiler to connect to a deployed Xamarin.iOS app on my iOS device. I had no trouble with a previous version of Xamarin Profiler - this appears to be isolated to the newest version.

When I start profiling the app, the app starts (on my USB-connected iPad), the profiler opens, and gets stuck trying to open a mlpd under /var:
.

I don't know what this mlpd is (I wasn't trying to load it) - I'm assuming it's a blank mlpd for a new profiling session. It tries this for awhile, then errors out:

Eventually, I get an error message popping up:

I've tried the following things, but this error still persists:

  • Deleted the /var/folders/19 folder
  • Uninstalled and reinstalled Xamarin Profiler
  • Deleted the deployed app, rebuilt, deployed again, and tried to profile again
  • Looked through the Xamarin Profiler troubleshooting guide for any applicable solution (none found)
  • Tried a previous version (1.5.4-19), with the same behavior. I suspect the version I was using yesterday was older than 1.5.4-19.

All with no luck. Relevant content from a log file for a session where this is happening:

XamarinProfiler.Mac.LcdView Information: 0 : [2017-08-15 09:21:45.1188] Sorry, something went wrong trying to run com.temp.app: file /var/folders/19/z02myk096cv53ll0mm_hrvy80000gp/T/n87mh2qq.mlpd exists, but is empty
XamarinProfiler.Mac.LcdView Information: 0 : [2017-08-15 09:21:45.1197] Stopping iOS app com.temp.app
XamarinProfiler.Mac.LcdView Error: 0 : [2017-08-15 09:23:47.5555] error stopping iOS application
System.IO.IOException: USB connect timeout (ENODATA), likely because the app failed to launch. Please review device logs and/or crash reports for more information.
  at Xamarin.MacDev.AggregateAsyncResult.CheckError (System.Boolean cancelled) [0x0001c] in /Users/builder/data/lanes/4982/292cc19a/source/profiler/external/maciostools/Xamarin.MacDev.Ide/AggregateAsyncResult.cs:68 
  at Xamarin.MacDev.IPhoneCommandConnection.EndExecuteCommand (System.IAsyncResult result) [0x00007] in /Users/builder/data/lanes/4982/292cc19a/source/profiler/external/maciostools/Xamarin.MacDev.Ide/IPhoneCommandConnection.cs:146 
  at Xamarin.MacDev.IPhoneCommandConnection.Stop () [0x0004c] in /Users/builder/data/lanes/4982/292cc19a/source/profiler/external/maciostools/Xamarin.MacDev.Ide/IPhoneCommandConnection.cs:448 
  at XamarinProfiler.Core.Platforms.iOS.MTouchRunner.Stop () [0x0002c] in /Users/builder/data/lanes/4982/292cc19a/source/profiler/src/XamarinProfiler.Core/Platforms/iOS/MTouchRunner.cs:205 
XamarinProfiler.Mac.LcdView Error: 0 : [2017-08-15 09:23:47.5555] error stopping iOS application
System.IO.IOException: USB connect timeout (ENODATA), likely because the app failed to launch. Please review device logs and/or crash reports for more information.
  at Xamarin.MacDev.AggregateAsyncResult.CheckError (System.Boolean cancelled) [0x0001c] in /Users/builder/data/lanes/4982/292cc19a/source/profiler/external/maciostools/Xamarin.MacDev.Ide/AggregateAsyncResult.cs:68 
  at Xamarin.MacDev.IPhoneCommandConnection.EndExecuteCommand (System.IAsyncResult result) [0x00007] in /Users/builder/data/lanes/4982/292cc19a/source/profiler/external/maciostools/Xamarin.MacDev.Ide/IPhoneCommandConnection.cs:146 
  at Xamarin.MacDev.IPhoneCommandConnection.Stop () [0x0004c] in /Users/builder/data/lanes/4982/292cc19a/source/profiler/external/maciostools/Xamarin.MacDev.Ide/IPhoneCommandConnection.cs:448 
  at XamarinProfiler.Core.Platforms.iOS.MTouchRunner.Stop () [0x0002c] in /Users/builder/data/lanes/4982/292cc19a/source/profiler/src/XamarinProfiler.Core/Platforms/iOS/MTouchRunner.cs:205 
XamarinProfiler.Mac.LcdView Information: 0 : [2017-08-15 09:23:47.5596] Stopping profiler log reader
XamarinProfiler.Mac.LcdView Information: 0 : [2017-08-15 09:23:47.5600] Stopping profiler log reader

Just to be clear: the app is indeed launching on my device.

Any ideas what is going on, or what else I can try to get past this? Or where I can find a download link for a previous version of Xamarin Profiler? I'm out of ideas at this point - going to try uninstalling and reinstalling VS for Mac to see if that helps.

Thanks!

Posts

Sign In or Register to comment.