Bug 15481 - Running the project in the simulator fails with a generic error message
Summary: Running the project in the simulator fails with a generic error message
Alias: None
Product: iOS
Classification: Xamarin
Component: Debugger ()
Version: 7.0.2.x
Hardware: PC Mac OS
: --- normal
Target Milestone: Untriaged
Assignee: Bugzilla
Depends on:
Reported: 2013-10-18 06:05 UTC by tkandiliotis
Modified: 2016-05-24 20:27 UTC (History)
4 users (show)

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

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 or GitHub 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 tkandiliotis 2013-10-18 06:05:38 UTC
Very commonly the running of the application in the simulator results in this generic error message:

Starting iOS simulator 7.0
Launching application
ERR: There was an error launching the application: iOS Simulator failed to install the application.

The developer has no way of knowing what the problem is and has to resort to commenting the last lines of code with trial and error until the application is able to launch in the simulator again. The application should not build OR the output should show a more descriptive error.
Comment 1 tkandiliotis 2013-10-18 09:13:57 UTC
I have not been able to pin point the cause of this behaviour although it happens quite oftenly. I am able to overcome it though by exiting the simulator application so that next time I run/debug the project the simulator is launched again.
Comment 2 Sebastien Pouliot 2013-10-18 16:53:24 UTC
The simulator support included in Xcode 5 (and used by Xamarin Studio) is known to be fragile [1]. Some of the answers in [2] might help you minimize them.

Hopefully there will be updates from Apple. If you can pinpoint some cases please let us (or directly Apple) know about them (we can file issues with Apple).

[1] https://developer.apple.com/library/ios/releasenotes/DeveloperTools/RN-Xcode/index.html#//apple_ref/doc/uid/TP40001051-SW241
[2] http://stackoverflow.com/q/18746093/220643
Comment 3 Dylan 2013-10-24 06:53:37 UTC
Seems similar to this issue: https://bugzilla.xamarin.com/show_bug.cgi?id=15444
Comment 4 Sebastien Pouliot 2016-05-24 20:27:49 UTC
We have not received the requested information. If you are still experiencing this issue please provide all the requested information and re-open the bug report. Thanks!