Xamarin Profiler Does Not Connect

Richard Clements 0 Reputation points
2023-01-23T10:59:02.7433333+00:00

I have an enterprise license, and I have tried to run the Xamarin Profiler with a sample application. The profiler never connects to the app, and subsequently terminates the application even though it is running correctly.

The application is running on a simulator.

XamarinProfiler.Core.ProfilerService Information: 0 : [2023-01-23 10:52:02.7370] ##########################################
XamarinProfiler.Core.ProfilerService Information: 0 : [2023-01-23 10:52:02.7467] # Xamarin Profiler version -  1.6.13.11
XamarinProfiler.Core.ProfilerService Information: 0 : [2023-01-23 10:52:02.7468] #  * Arch x86_64
XamarinProfiler.Core.ProfilerService Information: 0 : [2023-01-23 10:52:02.7468] ##########################################
XamarinProfiler.Core.ProfilerService Information: 0 : [2023-01-23 10:52:02.9811] initializing android platform
XamarinProfiler.Core.ProfilerService Information: 0 : [2023-01-23 10:52:02.9813] initializing ios platform
XamarinProfiler.Core.ProfilerService Information: 0 : [2023-01-23 10:52:02.9814] initializing mlpd platform
XamarinProfiler.Core.ProfilerService Information: 0 : [2023-01-23 10:52:02.9815] initializing exe platform
XamarinProfiler.Core.ProfilerService Information: 0 : [2023-01-23 10:52:02.9816] initializing dll platform
XamarinProfiler.Core.ProfilerService Information: 0 : [2023-01-23 10:52:02.9818] initializing mac platform
XamarinProfiler.Core.ProfilerService Information: 0 : [2023-01-23 10:52:03.6247] processing command line = --options=name:iPhone 14 Pro,gc:sgen,maxframes:4 --type=ios --device=:v2:runtime=com.apple.CoreSimulator.SimRuntime.iOS-16-2,devicetype=com.apple.CoreSimulator.SimDeviceType.iPhone-14-Pro|16.2 --target=/Users/*/Desktop/ios-samples/AsyncDownloadImage/AsyncDownloadImage/bin/iPhoneSimulator/Debug/AsyncDownloadImage.app --heapshot-mode=time --heapshot-frequency=50000 --sampling-mode=tracing --sample-cycle-freq=1000
XamarinProfiler.Core.ProfilerService Information: 0 : [2023-01-23 10:52:03.6417] processing command line = /Applications/Xamarin Profiler.app/Contents/MacOS/Xamarin Profiler --type=ios --target=/Users/*/Desktop/ios-samples/AsyncDownloadImage/AsyncDownloadImage/bin/iPhoneSimulator/Debug/AsyncDownloadImage.app --device=:v2:runtime=com.apple.CoreSimulator.SimRuntime.iOS-16-2,devicetype=com.apple.CoreSimulator.SimDeviceType.iPhone-14-Pro|16.2 --options=name:iPhone 14 Pro
XamarinProfiler.Mac.Views.LcdView Information: 0 : [2023-01-23 10:52:22.2820] Progress report initialized successfully
XamarinProfiler.Mac.Views.LcdView Information: 0 : [2023-01-23 10:52:22.2824] Initializing profiling...
XamarinProfiler.Core.ProfilerService Information: 0 : [2023-01-23 10:52:22.4493] processing command line = --options=name:iPhone 14 Pro,gc:sgen,maxframes:4 --type=ios --device=:v2:runtime=com.apple.CoreSimulator.SimRuntime.iOS-16-2,devicetype=com.apple.CoreSimulator.SimDeviceType.iPhone-14-Pro|16.2 --target=/Users/*/Desktop/ios-samples/AsyncDownloadImage/AsyncDownloadImage/bin/iPhoneSimulator/Debug/AsyncDownloadImage.app --heapshot-mode=time --heapshot-frequency=50000 --sampling-mode=tracing --sample-cycle-freq=1000
XamarinProfiler.Mac.Views.LcdView Information: 0 : [2023-01-23 10:52:22.4561] Creating connection with iOS device :v2:runtime=com.apple.CoreSimulator.SimRuntime.iOS-16-2,devicetype=com.apple.CoreSimulator.SimDeviceType.iPhone-14-Pro
XamarinProfiler.Mac.Views.LcdView Information: 0 : [2023-01-23 10:52:22.4565] Waiting for device :v2:runtime=com.apple.CoreSimulator.SimRuntime.iOS-16-2,devicetype=com.apple.CoreSimulator.SimDeviceType.iPhone-14-Pro to connect
XamarinProfiler.Core.Platforms.iOS.PlatformIos Information: 0 : [2023-01-23 10:52:22.4736] found Mono version 6.12.0 for Xamarin.iOS framework
XamarinProfiler.Mac.Views.LcdView Information: 0 : [2023-01-23 10:52:22.4748] Starting profiler on iOS device :v2:runtime=com.apple.CoreSimulator.SimRuntime.iOS-16-2,devicetype=com.apple.CoreSimulator.SimDeviceType.iPhone-14-Pro with log:nodefaults,heapshot=ondemand,maxframes=4,gc,gcalloc,gcroot,gcmove,calls,exception,monitor,calldepth=4,counter,output=/var/folders/mh/7w916nh55d73q89zj9gmh9xh0000gp/T/bt39ohv5.mlpd
XamarinProfiler.Mac.Views.LcdView Information: 0 : [2023-01-23 10:52:22.5472] Starting /Library/Frameworks/Xamarin.iOS.framework/Versions/Current/bin/mlaunch -v -v -v -v -sdkroot "/Applications/Xcode.app/Contents/Developer" --launchsim="/Users/*/Desktop/ios-samples/AsyncDownloadImage/AsyncDownloadImage/bin/iPhoneSimulator/Debug/AsyncDownloadImage.app" --sdk=16.2 --wait-for-exit --argument=-monodevelop-port --argument=53563 --device=":v2:runtime=com.apple.CoreSimulator.SimRuntime.iOS-16-2,devicetype=com.apple.CoreSimulator.SimDeviceType.iPhone-14-Pro"
XamarinProfiler.Mac.Views.LcdView Information: 0 : [2023-01-23 10:52:22.5476] Starting application /Users/*/Desktop/ios-samples/AsyncDownloadImage/AsyncDownloadImage/bin/iPhoneSimulator/Debug/AsyncDownloadImage.app
XamarinProfiler.Mac.Views.LcdView Information: 0 : [2023-01-23 10:52:23.0497] iOS app output: Using Xcode 14.2 found in /Applications/Xcode.app/Contents/Developer
XamarinProfiler.Mac.Views.LcdView Information: 0 : [2023-01-23 10:52:23.0508] iOS app output: Xamarin.Hosting: Xamarin.Hosting
XamarinProfiler.Mac.Views.LcdView Information: 0 : [2023-01-23 10:52:23.0517] iOS app output: Xamarin.Hosting:     Version: 75a03ccbfc (refs/heads/xcode14)
XamarinProfiler.Mac.Views.LcdView Information: 0 : [2023-01-23 10:52:23.0526] iOS app output: Xamarin.Hosting:     Xcode: /Applications/Xcode.app
XamarinProfiler.Mac.Views.LcdView Information: 0 : [2023-01-23 10:52:23.0536] iOS app output: Xamarin.Hosting:     Xcode Version: 14.2
XamarinProfiler.Mac.Views.LcdView Information: 0 : [2023-01-23 10:52:23.0546] iOS app output: Xamarin.Hosting:     Verbosity: 4
XamarinProfiler.Mac.Views.LcdView Information: 0 : [2023-01-23 10:52:23.1237] iOS app output: Xamarin.Hosting: Loaded /Applications/Xcode.app/Contents/SharedFrameworks/DVTFoundation.framework/Versions/A/DVTFoundation
XamarinProfiler.Mac.Views.LcdView Information: 0 : [2023-01-23 10:52:23.1485] iOS app output: Xamarin.Hosting: Loaded /Library/Developer/PrivateFrameworks/CoreSimulator.framework/CoreSimulator
XamarinProfiler.Mac.Views.LcdView Information: 0 : [2023-01-23 10:52:23.1518] iOS app output: Xamarin.Hosting: Loaded /Applications/Xcode.app/Contents/SharedFrameworks/DVTDeviceFoundation.framework/DVTDeviceFoundation
XamarinProfiler.Mac.Views.LcdView Information: 0 : [2023-01-23 10:52:23.1597] iOS app output: Xamarin.Hosting: Loaded /Applications/Xcode.app/Contents/SharedFrameworks/DTDeviceKitBase.framework/DTDeviceKitBase
XamarinProfiler.Mac.Views.LcdView Information: 0 : [2023-01-23 10:52:23.2112] iOS app output: Xamarin.Hosting: Loaded /Applications/Xcode.app/Contents/SharedFrameworks/DVTKit.framework/DVTKit
XamarinProfiler.Mac.Views.LcdView Information: 0 : [2023-01-23 10:52:23.2157] iOS app output: Xamarin.Hosting: Loaded /Applications/Xcode.app/Contents/SharedFrameworks/DTDeviceKit.framework/DTDeviceKit
XamarinProfiler.Mac.Views.LcdView Information: 0 : [2023-01-23 10:52:23.2169] iOS app output: Xamarin.Hosting: Loaded /Applications/Xcode.app/Contents/SharedFrameworks/DTXConnectionServices.framework/DTXConnectionServices
XamarinProfiler.Mac.Views.LcdView Information: 0 : [2023-01-23 10:52:23.2223] iOS app output: Xamarin.Hosting: Loaded /Applications/Xcode.app/Contents/SharedFrameworks/DVTSourceControl.framework/DVTSourceControl
XamarinProfiler.Mac.Views.LcdView Information: 0 : [2023-01-23 10:52:23.2238] iOS app output: Xamarin.Hosting: Loaded /Applications/Xcode.app/Contents/SharedFrameworks/DVTServices.framework/DVTServices
XamarinProfiler.Mac.Views.LcdView Information: 0 : [2023-01-23 10:52:23.2251] iOS app output: Xamarin.Hosting: Loaded /Applications/Xcode.app/Contents/SharedFrameworks/DVTPortal.framework/DVTPortal
XamarinProfiler.Mac.Views.LcdView Information: 0 : [2023-01-23 10:52:23.2590] iOS app output: Xamarin.Hosting: Loaded /Applications/Xcode.app/Contents/SharedFrameworks/DVTDocumentation.framework/DVTDocumentation
XamarinProfiler.Mac.Views.LcdView Information: 0 : [2023-01-23 10:52:23.2646] iOS app output: Xamarin.Hosting: Loaded /Applications/Xcode.app/Contents/SharedFrameworks/DVTAnalyticsClient.framework/DVTAnalyticsClient
XamarinProfiler.Mac.Views.LcdView Information: 0 : [2023-01-23 10:52:23.2699] iOS app output: Xamarin.Hosting: Loaded /Applications/Xcode.app/Contents/SharedFrameworks/XCServices.framework/XCServices
XamarinProfiler.Mac.Views.LcdView Information: 0 : [2023-01-23 10:52:23.2748] iOS app output: Xamarin.Hosting: Loaded /Applications/Xcode.app/Contents/SharedFrameworks/DVTAppStoreConnect.framework/DVTAppStoreConnect
XamarinProfiler.Mac.Views.LcdView Information: 0 : [2023-01-23 10:52:23.2975] iOS app output: Xamarin.Hosting: Loaded /Applications/Xcode.app/Contents/SharedFrameworks/ContentDeliveryServices.framework/ContentDeliveryServices
XamarinProfiler.Mac.Views.LcdView Information: 0 : [2023-01-23 10:52:23.3018] iOS app output: Xamarin.Hosting: Loaded /Applications/Xcode.app/Contents/SharedFrameworks/ContentDelivery.framework/ContentDelivery
XamarinProfiler.Mac.Views.LcdView Information: 0 : [2023-01-23 10:52:23.3087] iOS app output: Xamarin.Hosting: Loaded /Applications/Xcode.app/Contents/SharedFrameworks/Notarization.framework/Notarization
XamarinProfiler.Mac.Views.LcdView Information: 0 : [2023-01-23 10:52:23.3133] iOS app output: Xamarin.Hosting: Loaded /Applications/Xcode.app/Contents/SharedFrameworks/DVTITunesSoftwareServiceFoundation.framework/DVTITunesSoftwareServiceFoundation
XamarinProfiler.Mac.Views.LcdView Information: 0 : [2023-01-23 10:52:23.3167] iOS app output: Xamarin.Hosting: Loaded /Applications/Xcode.app/Contents/SharedFrameworks/DVTITunesSoftware.framework/DVTITunesSoftware
XamarinProfiler.Mac.Views.LcdView Information: 0 : [2023-01-23 10:52:23.3210] iOS app output: Xamarin.Hosting: Loaded /Applications/Xcode.app/Contents/SharedFrameworks/DVTProducts.framework/DVTProducts
XamarinProfiler.Mac.Views.LcdView Information: 0 : [2023-01-23 10:52:23.3255] iOS app output: Xamarin.Hosting: Loaded /Applications/Xcode.app/Contents/SharedFrameworks/DVTProductsUI.framework/DVTProductsUI
XamarinProfiler.Mac.Views.LcdView Information: 0 : [2023-01-23 10:52:23.3316] iOS app output: Xamarin.Hosting: Loaded /Applications/Xcode.app/Contents/SharedFrameworks/DVTAnalytics.framework/DVTAnalytics
XamarinProfiler.Mac.Views.LcdView Information: 0 : [2023-01-23 10:52:23.3518] iOS app output: Xamarin.Hosting: Loaded /Applications/Xcode.app/Contents/SharedFrameworks/SourceKit.framework/SourceKit
XamarinProfiler.Mac.Views.LcdView Information: 0 : [2023-01-23 10:52:23.4008] iOS app output: Xamarin.Hosting: Loaded /Applications/Xcode.app/Contents/Frameworks/IDEFoundation.framework/IDEFoundation
XamarinProfiler.Mac.Views.LcdView Information: 0 : [2023-01-23 10:52:23.4061] iOS app output: Xamarin.Hosting: Loaded /Applications/Xcode.app/Contents/SharedFrameworks/IDEProducts.framework/IDEProducts
XamarinProfiler.Mac.Views.LcdView Information: 0 : [2023-01-23 10:52:24.0932] iOS app output: Xamarin.Hosting: Simulator watchdogs are already disabled for 'iOS 16.2 (20C52) - iPhone 14 Pro'.
XamarinProfiler.Mac.Views.LcdView Information: 0 : [2023-01-23 10:52:24.1007] iOS app output: Xamarin.Hosting: Device 'iOS 16.2 (20C52) - iPhone 14 Pro' is already booted and the simulator is running.
XamarinProfiler.Mac.Views.LcdView Information: 0 : [2023-01-23 10:52:24.1203] iOS app output: Xamarin.Hosting: No need to boot (already booted): iPhone 14 Pro
XamarinProfiler.Mac.Views.LcdView Information: 0 : [2023-01-23 10:52:24.1264] iOS app output: Xamarin.Hosting: Installing on iOS 16.2 (20C52) - iPhone 14 Pro by executing 'xcrun simctl install E3467621-6E42-4F20-8051-01D05A4297D8 /Users/*/Desktop/ios-samples/AsyncDownloadImage/AsyncDownloadImage/bin/iPhoneSimulator/Debug/AsyncDownloadImage.app'
XamarinProfiler.Mac.Views.LcdView Information: 0 : [2023-01-23 10:52:25.3518] iOS app output: Xamarin.Hosting: Could not find any potentially troublesome weak load commands.
XamarinProfiler.Mac.Views.LcdView Information: 0 : [2023-01-23 10:52:25.4279] iOS app output: Xamarin.Hosting: The bundle id com.xamarin.AsyncDownloadImage was successfully installed.
XamarinProfiler.Mac.Views.LcdView Information: 0 : [2023-01-23 10:52:25.4475] iOS app output: Xamarin.Hosting: Launching on iOS 16.2 (20C52) - iPhone 14 Pro by executing 'xcrun simctl launch --console --terminate-running-process E3467621-6E42-4F20-8051-01D05A4297D8 com.xamarin.AsyncDownloadImage -monodevelop-port 53563' with environment:
XamarinProfiler.Mac.Views.LcdView Information: 0 : [2023-01-23 10:52:25.4488] iOS app output: 	DEVELOPER_DIR=/Applications/Xcode.app
XamarinProfiler.Mac.Views.LcdView Information: 0 : [2023-01-23 10:52:25.4501] iOS app output: 	NSUnbufferedIO=YES
XamarinProfiler.Mac.Views.LcdView Information: 0 : [2023-01-23 10:52:25.4514] iOS app output: 	SIMCTL_CHILD_OS_ACTIVITY_DT_MODE=YES
XamarinProfiler.Mac.Views.LcdView Information: 0 : [2023-01-23 10:52:25.4527] iOS app output: 	SIMCTL_CHILD_NSUnbufferedIO=YES
XamarinProfiler.Mac.Views.LcdView Information: 0 : [2023-01-23 10:52:25.4543] iOS app output: xcrun simctl launch --console --terminate-running-process E3467621-6E42-4F20-8051-01D05A4297D8 com.xamarin.AsyncDownloadImage -monodevelop-port 53563
XamarinProfiler.Mac.Views.LcdView Information: 0 : [2023-01-23 10:52:26.1290] iOS app output: com.xamarin.AsyncDownloadImage: 11072
XamarinProfiler.Mac.Views.LcdView Information: 0 : [2023-01-23 10:52:29.9445] iOS app output: objc[11072]: Class CDPCAReporter is implemented in both /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneOS.platform/Library/Developer/CoreSimulator/Profiles/Runtimes/iOS.simruntime/Contents/Resources/RuntimeRoot/System/Library/PrivateFrameworks/CoreCDPInternal.framework/CoreCDPInternal (0x15cfe11d8) and /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneOS.platform/Library/Developer/CoreSimulator/Profiles/Runtimes/iOS.simruntime/Contents/Resources/RuntimeRoot/System/Library/PrivateFrameworks/CoreCDP.framework/CoreCDP (0x151a47eb0). One of the two will be used. Which one is undefined.
XamarinProfiler.Mac.Views.LcdView Information: 0 : [2023-01-23 10:52:29.9467] iOS app output: objc[11072]: Class CDPCABackupRecoveryReporter is implemented in both /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneOS.platform/Library/Developer/CoreSimulator/Profiles/Runtimes/iOS.simruntime/Contents/Resources/RuntimeRoot/System/Library/PrivateFrameworks/CoreCDPInternal.framework/CoreCDPInternal (0x15cfe1ef8) and /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneOS.platform/Library/Developer/CoreSimulator/Profiles/Runtimes/iOS.simruntime/Contents/Resources/RuntimeRoot/System/Library/PrivateFrameworks/CoreCDP.framework/CoreCDP (0x151a480e0). One of the two will be used. Which one is undefined.
XamarinProfiler.Mac.Views.LcdView Information: 0 : [2023-01-23 10:52:29.9634] iOS app output: objc[11072]: Class NSURLSessionDelegate is implemented in both /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneOS.platform/Library/Developer/CoreSimulator/Profiles/Runtimes/iOS.simruntime/Contents/Resources/RuntimeRoot/System/Library/PrivateFrameworks/NetworkServiceProxy.framework/NetworkServiceProxy (0x149c08d48) and /Users/*/Library/Developer/CoreSimulator/Devices/E3467621-6E42-4F20-8051-01D05A4297D8/data/Containers/Bundle/Application/F9AEE74D-0237-4E6B-904D-BEE1DF00E370/AsyncDownloadImage.app/AsyncDownloadImage (0x10f70d4d0). One of the two will be used. Which one is undefined.
XamarinProfiler.Mac.Views.LcdView Information: 0 : [2023-01-23 10:52:30.0552] iOS app output: MonoTouch: Could not install sigaction override, unexpected sigaction implementation.
XamarinProfiler.Mac.Views.LcdView Information: 0 : [2023-01-23 10:52:30.0721] Waiting for device :v2:runtime=com.apple.CoreSimulator.SimRuntime.iOS-16-2,devicetype=com.apple.CoreSimulator.SimDeviceType.iPhone-14-Pro to connect
XamarinProfiler.Mac.Views.LcdView Information: 0 : [2023-01-23 10:52:30.5798] iOS app output: 2023-01-23 10:52:30.578157+0000 AsyncDownloadImage[11072:211193] [SceneConfiguration] Info.plist contained no UIScene configuration dictionary (looking for configuration named "(no name)")
XamarinProfiler.Mac.Views.LcdView Information: 0 : [2023-01-23 10:52:30.5821] iOS app output: 2023-01-23 10:52:30.578457+0000 AsyncDownloadImage[11072:211193] [SceneConfiguration] Info.plist contained no UIScene configuration dictionary (looking for configuration named "(no name)")
XamarinProfiler.Mac.Views.LcdView Information: 0 : [2023-01-23 10:52:40.0747] Stopping application /Users/*/Desktop/ios-samples/AsyncDownloadImage/AsyncDownloadImage/bin/iPhoneSimulator/Debug/AsyncDownloadImage.app
XamarinProfiler.Mac.Views.LcdView Information: 0 : [2023-01-23 10:52:40.0886] Stopping profiler log reader
XamarinProfiler.Mac.Views.LcdView Information: 0 : [2023-01-23 10:52:40.0889] Stopping profiler log reader
XamarinProfiler.Mac.Views.LcdView Error: 0 : [2023-01-23 10:52:40.1048] Sorry, something went wrong trying to run AsyncDownloadImage.app: Application /Users/*/Desktop/ios-samples/AsyncDownloadImage/AsyncDownloadImage/bin/iPhoneSimulator/Debug/AsyncDownloadImage.app didn't start
XamarinProfiler.Mac.Views.LcdView Error: 0 : [2023-01-23 10:52:40.1048] Sorry, something went wrong trying to run AsyncDownloadImage.app: Application /Users/*/Desktop/ios-samples/AsyncDownloadImage/AsyncDownloadImage/bin/iPhoneSimulator/Debug/AsyncDownloadImage.app didn't start
XamarinProfiler.Mac.Views.LcdView Information: 0 : [2023-01-23 10:52:40.1052] Sorry, something went wrong trying to run AsyncDownloadImage.app: Application /Users/*/Desktop/ios-samples/AsyncDownloadImage/AsyncDownloadImage/bin/iPhoneSimulator/Debug/AsyncDownloadImage.app didn't start

Xamarin
Xamarin
A Microsoft open-source app platform for building Android and iOS apps with .NET and C#.
5,292 questions
.NET
.NET
Microsoft Technologies based on the .NET software framework.
3,357 questions
Visual Studio Debugging
Visual Studio Debugging
Visual Studio: A family of Microsoft suites of integrated development tools for building applications for Windows, the web and mobile devices.Debugging: The act or process of detecting, locating, and correcting logical or syntactical errors in a program or malfunctions in hardware. In hardware contexts, the term troubleshoot is the term more frequently used, especially if the problem is major.
938 questions
{count} votes