Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[Bug] error MT1007: Failed to launch the application #7827

Closed
ederbond opened this issue Feb 7, 2020 · 2 comments
Closed

[Bug] error MT1007: Failed to launch the application #7827

ederbond opened this issue Feb 7, 2020 · 2 comments
Labels
iOS Issues affecting Xamarin.iOS need-info Waiting for more information before the bug can be investigated
Milestone

Comments

@ederbond
Copy link

ederbond commented Feb 7, 2020

Description

error MT1007: Failed to launch the application '/Users/edercardoso/Library/Caches/Xamarin/mtbs/builds/Hasc.RemoteTraining.iOS/7779546de7d6f0c3769913547e5c63f5/bin/iPhone/Debug/Hasc.RemoteTraining.iOS.app' on the device 'Eder???s iPhone': Failed to launch the application 'com.hasc.remote.training' on the device 'Eder???s iPhone': Could not mount developer tools on 'Eder???s iPhone': Value cannot be null. 0

Steps to Reproduce

When I press F5 the app seem to build but VS fails to run and attach to device

Expected Behavior

Actual Behavior

Basic Information

  • Version with issue:
  • Last known good version:
  • IDE: Visual Studio Community 2019 - v16.4.4
  • Platform Target Frameworks:
    • iOS: 13.3.1
  • Affected Devices: iPhone 11 Pro

Follows the build log:
========== Deploy: 0 succeeded, 0 failed, 0 skipped ==========

Projects build report:
Status | Project [Config|platform]
-----------|---------------------------------------------------------------------------------------------------
Succeeded | Hasc.RemoteTraining.Utils\Hasc.RemoteTraining.Utils.csproj [Debug|Any CPU]
Succeeded | Hasc.RemoteTraining.ApiTypes\Hasc.RemoteTraining.ApiTypes.csproj [Debug|Any CPU]
Succeeded | Hasc.RemoteTraining.Models\Hasc.RemoteTraining.Models.csproj [Debug|Any CPU]
Succeeded | Hasc.RemoteTraining\Hasc.RemoteTraining.csproj [Debug|Any CPU]
Succeeded | Hasc.RemoteTraining.iOS\Hasc.RemoteTraining.iOS.csproj [Debug|iPhone]

Build time 00:01:29.689
Build ended at 2/7/2020 10:41:46 AM
The app Hasc.RemoteTraining.iOS is already deployed on Eder’s iPhone
Launching...
Using Xcode 11.3.1 found in /Applications/Xcode.app/Contents/Developer
Xamarin.Hosting: Xamarin.Hosting
Xamarin.Hosting: Version: d549487354 (d16-4)
Xamarin.Hosting: Xcode: /Applications/Xcode.app
Xamarin.Hosting: Xcode Version: 11.3.1
Xamarin.Hosting: Verbosity: 1
Xamarin.Hosting: Loaded /Applications/Xcode.app/Contents/SharedFrameworks/DVTFoundation.framework/Versions/A/DVTFoundation
Xamarin.Hosting: Loaded /Applications/Xcode.app/Contents/SharedFrameworks/DVTiPhoneSimulatorRemoteClient.framework/DVTiPhoneSimulatorRemoteClient
Xamarin.Hosting: Loaded /Library/Developer/PrivateFrameworks/CoreSimulator.framework/CoreSimulator
Xamarin.Hosting: Loaded /Applications/Xcode.app/Contents/SharedFrameworks/DTDeviceKitBase.framework/DTDeviceKitBase
Xamarin.Hosting: Loaded /Applications/Xcode.app/Contents/SharedFrameworks/DVTKit.framework/DVTKit
Xamarin.Hosting: Loaded /Applications/Xcode.app/Contents/SharedFrameworks/DTDeviceKit.framework/DTDeviceKit
Xamarin.Hosting: Loaded /Applications/Xcode.app/Contents/SharedFrameworks/DTXConnectionServices.framework/DTXConnectionServices
Xamarin.Hosting: Loaded /Applications/Xcode.app/Contents/SharedFrameworks/DVTSourceControl.framework/DVTSourceControl
Xamarin.Hosting: Loaded /Applications/Xcode.app/Contents/SharedFrameworks/DVTServices.framework/DVTServices
Xamarin.Hosting: Loaded /Applications/Xcode.app/Contents/SharedFrameworks/DVTPortal.framework/DVTPortal
Xamarin.Hosting: Loaded /Applications/Xcode.app/Contents/SharedFrameworks/DVTDocumentation.framework/DVTDocumentation
Xamarin.Hosting: Loaded /Applications/Xcode.app/Contents/SharedFrameworks/DVTAnalyticsClient.framework/DVTAnalyticsClient
Xamarin.Hosting: Loaded /Applications/Xcode.app/Contents/SharedFrameworks/DVTAnalytics.framework/DVTAnalytics
Xamarin.Hosting: Loaded /Applications/Xcode.app/Contents/SharedFrameworks/SourceKit.framework/SourceKit
Xamarin.Hosting: Loaded /Applications/Xcode.app/Contents/Frameworks/IDEFoundation.framework/IDEFoundation
Xamarin.Hosting: Loaded /Applications/Xcode.app/Contents/SharedFrameworks/IDEProducts.framework/IDEProducts
Xamarin.Hosting: Loaded /Applications/Xcode.app/Contents/SharedFrameworks/DTGraphKit.framework/DTGraphKit
Xamarin.Hosting: Loaded /Applications/Xcode.app/Contents/SharedFrameworks/DVTDeveloperModeHelper.framework/DVTDeveloperModeHelper
Xamarin.Hosting: Loaded /Applications/Xcode.app/Contents/Frameworks/IDEKit.framework/IDEKit
Xamarin.Hosting: Loaded /Applications/Xcode.app/Contents/Frameworks/IBFoundation.framework/IBFoundation
Xamarin.Hosting: Loaded /Applications/Xcode.app/Contents/Frameworks/IBAutolayoutFoundation.framework/IBAutolayoutFoundation
Xamarin.Hosting: Loaded /Applications/Xcode.app/Contents/SharedFrameworks/DebugHierarchyFoundation.framework/DebugHierarchyFoundation
Xamarin.Hosting: Loaded /Applications/Xcode.app/Contents/SharedFrameworks/DebugHierarchyKit.framework/DebugHierarchyKit
Xamarin.Hosting: Loaded Xcode plugins successfully.
Xamarin.Hosting: Device discovery started
Xamarin.Hosting: Device discovery event: Connected (00008030-001C48A02682802E)
Xamarin.Hosting: Connected to Eder???s iPhone (00008030-001C48A02682802E) in 00:00:00.0173421
Xamarin.Hosting: Device discovery event: Connected (7e8caef86d8664ca77344950f88134352963025e)
Xamarin.Hosting: Connected to Eder???s iPad (7e8caef86d8664ca77344950f88134352963025e) in 00:00:00.0012344
Xamarin.Hosting: Device discovery event: Connected (00008030-001C48A02682802E)
Xamarin.Hosting: Connected to Eder???s iPhone (00008030-001C48A02682802E) in 00:00:00.0014000
Xamarin.Hosting: Failed to get value 'WirelessHosts' from the device 00008030-001C48A02682802E: Missing Value Error (error: 0xe8000015)
Xamarin.Hosting: Failed to start session on Eder???s iPhone: Value cannot be null.
Parameter name: array
warning MT1043: Failed to launch the application using the instruments service. Will try launching the app using gdb service.
Launching 'com.hasc.remote.training' on the device 'Eder???s iPhone'
Xamarin.Hosting: Failed to start session on Eder???s iPhone: Value cannot be null.
Parameter name: array
Xamarin.Hosting: Connecting to 'Eder???s iPhone', token is 0x7fec4cc40240
Xamarin.Hosting: Connected to 'Eder???s iPhone'
Xamarin.Hosting: Mounting developer image on 'Eder???s iPhone'
Xamarin.Hosting: Mounted developer image on 'Eder???s iPhone'
Xamarin.Hosting: Failed to start session on Eder???s iPhone: Value cannot be null.

@ederbond ederbond changed the title [Bug] [Bug] error MT1007: Failed to launch the application Feb 7, 2020
@samhouts samhouts transferred this issue from xamarin/Xamarin.Forms Feb 7, 2020
@chamons
Copy link
Contributor

chamons commented Feb 10, 2020

Thank you for your feedback!

For us to investigate this further, could you please provide your full build logs, crash reports (if any), test case (to reproduce) and all your version information.

To get full build logs just set the log verbosity to diagnostic at the following locations:

  • On Visual Studio for Mac: Preferences > Projects > Build
  • On Visual Studio for Windows: Tools > Options > Projects and Solutions > Build and Run

On Visual Studio for Windows you also want to add -v -v -v -v to the mtouch additional arguments by right-clicking the project in the solution explorer and selecting Properties.

Note: this is done automatically on Visual Studio for Mac when the log verbosity is set to diagnostic.

The easiest way to get exact version information:

  • On Visual Studio for Mac: "Visual Studio" menu, "About Visual Studio" item, "Show Details" button.
  • On Visual Studio for Windows: "Help menu", "About Microsoft Visual Studio" item.

Then copy/paste the version information (you can use the "Copy Information" button).

We look forward to hearing from you!

@chamons chamons added the need-info Waiting for more information before the bug can be investigated label Feb 10, 2020
@chamons chamons added this to the Future milestone Feb 10, 2020
@chamons chamons added the iOS Issues affecting Xamarin.iOS label Feb 10, 2020
@chamons
Copy link
Contributor

chamons commented Mar 16, 2020

We have not received the requested information.

If you are still experiencing this issue please provide all the requested information then click the Reopen Issue button.

Thanks!

@chamons chamons closed this as completed Mar 16, 2020
@ghost ghost locked as resolved and limited conversation to collaborators May 1, 2022
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
iOS Issues affecting Xamarin.iOS need-info Waiting for more information before the bug can be investigated
Projects
None yet
Development

No branches or pull requests

2 participants