Bug 14566 - ERR: There was an error launching the application: Unknown error
Summary: ERR: There was an error launching the application: Unknown error
Alias: None
Product: Visual Studio Extensions
Classification: Xamarin
Component: Debugger ()
Version: 1.4.x
Hardware: PC Mac OS
: Normal normal
Target Milestone: ---
Assignee: Vinicius Jarina
Depends on:
Reported: 2013-09-09 13:19 UTC by Allie Miller
Modified: 2016-05-10 17:04 UTC (History)
13 users (show)

Is this bug a regression?: ---
Last known good build:

mtbserver log from Case #45462 (200.39 KB, application/octet-stream)
2013-09-09 13:19 UTC, Allie Miller
MTVS trace logs from Case #45462 (8.25 KB, application/x-zip-compressed)
2013-09-09 13:20 UTC, Allie Miller

Notice (2018-05-24): bugzilla.xamarin.com is now in read-only mode.

Please join us on Visual Studio Developer Community and in the Xamarin and Mono organizations on GitHub to continue tracking issues. Bugzilla will remain available for reference in read-only mode. We will continue to work on open Bugzilla bugs, copy them to the new locations as needed for follow-up, and add the new items under Related Links.

Our sincere thanks to everyone who has contributed on this bug tracker over the years. Thanks also for your understanding as we make these adjustments and improvements for the future.

Please create a new report on Developer Community with your current version information, steps to reproduce, and relevant error messages or log files if you are hitting an issue that looks similar to this resolved bug and you do not yet see a matching new report.

Related Links:

Description Allie Miller 2013-09-09 13:19:24 UTC
Created attachment 4813 [details]
mtbserver log from Case #45462

When attempting to debug on the iOS simulator, the Mac Server output gives the above error and the simulator screen appears black.  The iOS SDK 6.1 is missing and does not appear available to for download from Xcode. Attached are the mtbserver log and trace log.
Has attempted:
1) Checking and changing the application settings for Applicatino Name, version and identifer. 
2) Moving both PC and Mac to the Alpha Channel. 
3) Multiple restarts of both machines. 
4) Targeting the 6.0 SDK rather than 6.1 SDK. 
5) Deleting the ~/Library/Application Support/iPhone Simulator directory
6) Reinstalling the latest Xcode

Versioning Information:
=== Xamarin Studio ===

Version 4.0.12 (build 3)
Installation UUID: 02a675ca-e702-4a27-98ff-702a09b3c785
Mono 3.2.0 ((no/7c7fcc7)
GTK 2.24.20
GTK# (
Package version: 302000000

=== Apple Developer Tools ===

Xcode 4.6.3 (2068)
Build 4H1503

=== Xamarin.iOS ===

Version: (Business Edition)
Hash: 0068990
Build date: 2013-13-08 05:24:39-0400

=== Xamarin.Android ===

Version: 4.8.1 (Starter Edition)
Android SDK: /Users/ClevermedUser/Library/Developer/Xamarin/android-sdk-mac_x86
Supported Android versions:
2.1 (API level 7)
2.2 (API level 8)
2.3 (API level 10)
3.1 (API level 12)
4.0 (API level 14)
4.0.3 (API level 15)
Java SDK: /usr
java version "1.6.0_51"
Java(TM) SE Runtime Environment (build 1.6.0_51-b11-457-11M4509)
Java HotSpot(TM) 64-Bit Server VM (build 20.51-b01-457, mixed mode)

=== Xamarin.Mac ===

Xamarin.Mac: Not Installed

=== Build Information ===

Release ID: 400120003
Git revision: 593d7acb1cb78ceeeb482d5133cf1fe514467e39
Build date: 2013-08-07 20:30:53+0000
Xamarin addins: 25a0858b281923e666b09259ad4746b774e0a873

=== Operating System ===

Mac OS X 10.8.4
Darwin Peter-Badgers-Mac-mini.local 12.4.0 Darwin Kernel Version 12.4.0
Wed May 1 17:57:12 PDT 2013
root:xnu-2050.24.15~1/RELEASE_X86_64 x86_64

Microsoft Visual Studio Professional 2012
Version 11.0.50727.1 RTMREL
Microsoft .NET Framework
Version 4.5.50709

Installed Version: Professional

LightSwitch for Visual Studio 2012 04938-004-0033001-02311
Microsoft LightSwitch for Visual Studio 2012

Office Developer Tools 04938-004-0033001-02311
Microsoft Office Developer Tools

Team Explorer for Visual Studio 2012 04938-004-0033001-02311
Microsoft Team Explorer for Visual Studio 2012

Visual Basic 2012 04938-004-0033001-02311
Microsoft Visual Basic 2012

Visual C# 2012 04938-004-0033001-02311
Microsoft Visual C# 2012

Visual C++ 2012 04938-004-0033001-02311
Microsoft Visual C++ 2012

Visual F# 2012 04938-004-0033001-02311
Microsoft Visual F# 2012

Visual Studio 2012 Code Analysis Spell Checker 04938-004-0033001-02311
Microsoft(r) Visual Studio(r) 2012 Code Analysis Spell Checker

Portions of International CorrectSpell(tm) spelling correction system (c) 1993 by Lernout & Hauspie Speech Products N.V. All rights reserved.

The American Heritage(r) Dictionary of the English Language, Third Edition Copyright (c) 1992 Houghton Mifflin Company. Electronic version licensed from Lernout & Hauspie Speech Products N.V. All rights reserved.

Visual Studio 2012 SharePoint Developer Tools 04938-004-0033001-02311
Microsoft Visual Studio 2012 SharePoint Developer Tools

NuGet Package Manager 2.0.30625.9003
NuGet Package Manager in Visual Studio. For more information about NuGet, visit http://docs.nuget.org/.

PreEmptive Analytics Visualizer 1.0
Microsoft Visual Studio extension to visualize aggregated summaries from the PreEmptive Analytics product.

SQL Server Data Tools 11.1.20627.00
Microsoft SQL Server Data Tools

Web Developer Tools 1.0.30710.0
Microsoft Web Developer Tools contains the following components:
Page Inspector: Tool that offers an efficient way to decompose Web Applications and diagnose front-end issues.
Web Publishing: Extensions required for Web Publishing for both hosted servers as well as on premises.
Web Form Templates: Includes the default templates for Web Form Applications.
Editor Extensions: Includes HTML, CSS, and JS editor extensions that greatly enhance the development experience.

Xamarin.Android 4.8.01013 (b76e8ec4)
Visual Studio plugin to enable development for Xamarin.Android.

Xamarin.iOS 1.3.250 (49348a51)
Visual Studio extension to enable development for Xamarin.iOS
Comment 1 Allie Miller 2013-09-09 13:20:50 UTC
Created attachment 4814 [details]
MTVS trace logs from Case #45462
Comment 2 chris 2013-09-10 04:11:14 UTC
The solution that's generating this error can be built and deployed from Xamarin Studio on the Mac but results in a black screen on the simulator if deployed from Visual Studio on the PC.

This bug has also been discussed in the forum: http://forums.xamarin.com/discussion/7707/black-screen-of-death
Comment 3 chris 2013-09-11 04:08:17 UTC
Note: the stable release of Xamarin.iOS 6.4.5 doesn't solve this issue
Comment 5 Vinicius Jarina 2013-10-07 14:20:16 UTC
We need more information about this issue.

Couldn't repro here.

This seems more iOS Simulator State related and not a issue with Xamarin.iOS VS.

Check if is possible to Build and Run Apps from Xcode and from XS (on Mac).
Comment 6 chris 2013-10-07 15:54:34 UTC
I can confirm that I can run the same project from XS on the Mac without any problem. 

It's only when I run it from VS that I see the error.
Comment 7 Vinicius Jarina 2013-10-09 20:31:13 UTC

Can you repro this with a simple project?
What happen if you try to run the Hello World from VS?

Thank you :)
Comment 9 Alan McGovern 2013-11-07 19:25:12 UTC
Would it be possible to provide a copy of the problematic solution?

In the meantime could you double check that your Info.plist does have a value set for the Application Name and Bundle Identifier fields? If they do not, could you try setting those, resetting your iOS Simulator to defaults and then rebuilding/deploying your application again?
Comment 10 Akhilesh kumar 2015-08-24 09:37:03 UTC
As these is no response on the bug and it is a old bug, so I am closing this

Please feel free to reopen it again if you have any concern or suggestion for
the same.