Forum Visual Studio

Version 0.33.1.0 iOS unable to start app

Profile report "Sorry, someting went wrong trying to run com.sdmyers.MDTv2"
Launching from Visual Studio 2015.
I was able to start/stop normal debugging.
I attempted to run the app on two different devices, and using the simulator, no success.

I'm new to this product, I hope this information helps your development - I'm very interested in using it in the future.

Bill

Assorted Log files:
From the PC, Profiler-..log
INFO[2016-05-12 08:26:20Z]: ##########################################
INFO[2016-05-12 08:26:20Z]: # Xamarin Profiler version - 0.33.1.0
INFO[2016-05-12 08:26:20Z]: # * Arch x86_64
INFO[2016-05-12 08:26:20Z]: ##########################################
DEBUG[2016-05-12 08:26:20Z]: processing command line = C:\Program Files (x86)\Xamarin\Profiler\XamarinProfiler.exe --type=ios --target=com.sdmyers.MDTv2 --device=TB66 --options=host:172.16.70.6,port:53961,user:xamarinuser,name:TB66,mode:usb
DEBUG[2016-05-12 08:26:28Z]: instrument added
DEBUG[2016-05-12 08:26:28Z]: instrument added
INFO[2016-05-12 08:26:28Z]: Creating ios run for com.sdmyers.MDTv2 target on device TB66
DEBUG[2016-05-12 08:26:28Z]: Progress report initialized successfully
DEBUG[2016-05-12 08:26:28Z]: Connecting to 172.16.70.6 as xamarinuser
DEBUG[2016-05-12 08:26:28Z]: Connecting to Xamarin Mac agent at 172.16.70.6
INFO[2016-05-12 08:26:28Z]: StartRecording for com.sdmyers.MDTv2
DEBUG[2016-05-12 08:26:39Z]: Registering profiler4596bhays as XMA client
DEBUG[2016-05-12 08:26:40Z]: Deploying profiler agent to 172.16.70.6
DEBUG[2016-05-12 08:26:52Z]: Starting listener on port 53961
DEBUG[2016-05-12 08:26:52Z]: Getting connection from Mac remote agent
DEBUG[2016-05-12 08:26:53Z]: Got response from agent: Run 669e9af2-799e-45d5-b5ea-5a99cdd39423 (/com.sdmyers.MDTv2 on TB66) started with heapshot=ondemand,alloc,nocalls,maxframes=8,sample=cycles/1000,
ERROR[2016-05-12 08:26:53Z]: error occured on run com.sdmyers.MDTv2 couldn't establish connection to device TB66
ERROR[2016-05-12 08:26:53Z]: Error occured on run com.sdmyers.MDTv2: couldn't establish connection to device TB66
INFO[2016-05-12 08:26:53Z]: StopRecording for com.sdmyers.MDTv2
DEBUG[2016-05-12 08:26:53Z]: Remote App stopped : 669e9af2-799e-45d5-b5ea-5a99cdd39423
DEBUG[2016-05-12 08:26:53Z]: Remote App stopped : 669e9af2-799e-45d5-b5ea-5a99cdd39423
DEBUG[2016-05-12 08:26:53Z]: Stopping profiler log reader
DEBUG[2016-05-12 08:26:53Z]: Stopping profiler log reader
ERROR[2016-05-12 08:26:53Z]: error occured on run com.sdmyers.MDTv2 Error on XMA listener: System.NullReferenceException: Object reference not set to an instance of an object.
at XamarinProfiler.Core.Internal.ProfileClients.ProfileIosXmaRun.AcceptClient()
DEBUG[2016-05-12 08:26:53Z]: Stopping profiler log reader

From Mac Library Log directory

Profiler..log

DEBUG[2016-05-12 08:26:52Z]: Creating connection with iOS device TB66

ProfilerAgent.log

Xamarin.Messaging.Client.AgentConsoleRunner Information: 0 : [2016-05-12 08:26:42.1603] ==== :: Xamarin :: 99.0.0.2180-master+2a215ab ====
Xamarin.Messaging.Client.AgentConsoleRunner Information: 0 : [2016-05-12 08:26:42.1625] Starting ProfilerAgent 0.33.1.0...
Xamarin.Messaging.Profiler.Agent.ProfilerAgent Information: 0 : [2016-05-12 08:26:42.1630] Starting Agent: ProfilerAgent 0.33.1.0 (PID=35836)
Xamarin.Messaging.Profiler.Agent.ProfilerAgent Information: 0 : [2016-05-12 08:26:42.3500] ProfilerAgent 0.33.1.0 agent started
Xamarin.Messaging.Profiler.Agent.StartProfilingMessageHandler Information: 0 : [2016-05-12 08:26:52.9126] Got request to start profiling: app /com.sdmyers.MDTv2 on device TB66 (Usb) with GC sgen and heapshot=ondemand,alloc,nocalls,maxframes=8,sample=cycles/1000,
Xamarin.Messaging.Profiler.Agent.StartProfilingMessageHandler Information: 0 : [2016-05-12 08:26:52.9179] Starting run for /com.sdmyers.MDTv2 on device TB66
Xamarin.Messaging.Profiler.Agent.StartProfilingMessageHandler Information: 0 : [2016-05-12 08:26:53.1583] Error occurred: couldn't establish connection to device TB66
Xamarin.Messaging.Profiler.Agent.StopProfilingMessageHandler Information: 0 : [2016-05-12 08:26:53.2291] Got request to stop profiling: app 669e9af2-799e-45d5-b5ea-5a99cdd39423
Xamarin.Messaging.Profiler.Agent.StopProfilingMessageHandler Information: 0 : [2016-05-12 08:26:53.2408] Got request to stop profiling: app 669e9af2-799e-45d5-b5ea-5a99cdd39423

Posts

  • BillHays.0352BillHays.0352 USMember

    I had some time to investigate this issue a little further

    My iPad target system log recorded a message. Target iPad Mini iOS 9.3.2

    secTaskDiagnoseEntitlements MISSING keychain entitlements: no stored taskRef found

    Here is the iOS log for the attempted profile session

    Jun 8 12:45:30 TB49 installd[43] : 0x1f115000 -[MIClientConnection _doBackgroundInstallationForPath:withOptions:completion:]: Install of "/var/mobile/Media/PublicStaging/MDT_iOS.app_sparse.ipa" type Developer (LSInstallType = (null)) requested by streaming_zip_conduit (pid 209)
    Jun 8 12:45:30 TB49 installd[43] : 0x1f115000 -[MIInstaller performInstallationWithError:]: Installing
    Jun 8 12:45:30 TB49 installd[43] : 0x1f115000 -[MIInstallableBundlePatch applyPatchWithError:]: Attempting patch update of com.sdmyers.MDTv2 from 1.73 (1.73) to 1.73 (1.73)
    Jun 8 12:45:30 TB49 profiled[148] : (Note ) MC: Provisioning profiles changed
    Jun 8 12:45:30 TB49 profiled[148] : (Note ) MC: Updating MIS trust...
    Jun 8 12:45:31 TB49 securityd[89] : secTaskDiagnoseEntitlements MISSING keychain entitlements: no stored taskRef found
    Jun 8 12:45:31 TB49 securityd[89] : secTaskDiagnoseEntitlements MISSING keychain entitlements: no stored taskRef found
    Jun 8 12:45:31 TB49 installd[43] : SecTrustEvaluate [leaf IssuerCommonName SubjectCommonName]
    Jun 8 12:45:31 TB49 securityd[89] : secTaskDiagnoseEntitlements MISSING keychain entitlements: no stored taskRef found
    Jun 8 12:45:31 TB49 securityd[89] : secTaskDiagnoseEntitlements MISSING keychain entitlements: no stored taskRef found
    Jun 8 12:45:31 TB49 installd[43] : SecTrustEvaluate [leaf IssuerCommonName SubjectCommonName]
    Jun 8 12:45:31 TB49 installd[43] : 0x1f115000 -[MIInstallableBundle _refreshUUIDForContainer:withError:]: Data container for com.sdmyers.MDTv2 is now at /private/var/mobile/Containers/Data/Application/74D39A13-89C3-4F82-AFC5-BFB5EF111325
    Jun 8 12:45:31 TB49 installd[43] : 0x1f115000 -[MIContainer makeContainerLiveReplacingContainer:reason:withError:]: Made container live for com.sdmyers.MDTv2 at /private/var/containers/Bundle/Application/D4D9106F-D7A6-423F-9CA6-DD97BC0C4542
    Jun 8 12:45:31 TB49 installd[43] : 0x1f115000 -[MIInstaller performInstallationWithError:]: Install Successful; Staging: 0.00s; Waiting: 0.00s; Preflight/Patch: 0.30s, Verifying: 0.75s; Overall: 1.44s
    Jun 8 12:45:31 TB49 pkd[113] : releasing plug-in hold E0321CE5-9334-4C6B-94DF-60F525E01EE4 at client's request
    Jun 8 12:45:31 TB49 online-auth-agent[202] : SecTrustEvaluate [leaf IssuerCommonName SubjectCommonName]
    Jun 8 12:45:31 TB49 syncdefaultsd[214] : (Note ) marked "com.me.keyvalueservice" topic as "opportunistic" on
    Jun 8 12:45:32 TB49 syncdefaultsd[214] : (Note ) SYDAccount: no account
    Jun 8 12:45:32 TB49 syncdefaultsd[214] : (Note ) marked "com.me.keyvalueservice" topic as "enabled" on
    Jun 8 12:45:33 TB49 profiled[148] : (Note ) MC: Updating MIS trust...
    Jun 8 12:45:33 TB49 SpringBoard[166] : Installed apps did change.
    Added: {(
    )}
    Removed: {(
    )}
    Modified: {(
    "com.sdmyers.MDTv2"
    )}
    Jun 8 12:45:33 TB49 lockdownd[32] : CFStringGetCString error in locklog
    Jun 8 12:45:33 TB49 mobile_installation_proxy[201] : 0x1f081000 handle_connection: Could not receive request from host.

Sign In or Register to comment.