Bug 8014 - [MonoTouch] "Error: Failed to compile interface file" displayed when user stop running application.
Summary: [MonoTouch] "Error: Failed to compile interface file" displayed when user sto...
Alias: None
Product: Xamarin Studio
Classification: Desktop
Component: iOS add-in ()
Version: 3.0.x
Hardware: PC Mac OS
: --- normal
Target Milestone: ---
Assignee: Jeffrey Stedfast
Depends on:
Reported: 2012-10-26 09:17 UTC by Saurabh
Modified: 2013-03-01 10:00 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 Saurabh 2012-10-26 09:17:34 UTC
Steps to reproduce this issue:
1. Open MD.
2. Create or open MonoTouch application.
3. Debug/Run the app.
4. Click 'Stop' button while application is running.

Actual result: when application is running and user clicks on 'Stop' button, An error displayed "Error: Failed to compile interface file". While for Android application 'Deployment canceled' appears.

Expected result: Running application should stop and 'Deployment canceled' should displayed.

Supplement information:
MD Log:

Environment details:
All Mac
MonoDevelop-3.0.5 e159cf083bd327933166819d94245298898d6e3d
MT 6.0.5 3821681a8a937617387f076c5749227ea7fe7413
Mono 2.10.9_11 Stable

Regression Status:
NOT A REGRESSION: This is also happening with MD Stable and MT 6.0.4 Stable
Comment 1 Jeffrey Stedfast 2012-11-01 15:31:05 UTC
Due to the build error, the program shouldn't have run at all...

Could you check your settings?

MonoDevelop -> Preferences -> Build ->"Build solution before running"

Is that checkbox checked? or unchecked?
Comment 2 Saurabh 2012-11-23 06:10:28 UTC
Today, we have verified this issue with following builds:

Mono 2.10.9_11 Stable
MD 3.0.5 Stable
MT 6.0.6 Stable

As per comment 1, We have check the settings:

MonoDevelop -> Preferences -> Build ->"Build solution before running"

That checkbox is checked.

We are still getting the same issue.
Comment 3 PJ 2013-01-14 09:19:45 UTC
Can you guys still reproduce this? If so, can you screencast?
Comment 4 Saurabh 2013-01-16 07:27:46 UTC
We have verified this issue with following builds:

X.S 4.0 - 37f983f1e334556d57c4d98a9818bc38b03fa638
Mono - 2.10.11
MT 6.1.112

We are still seeing this issue. This is the screencast for the same:
Comment 5 Jeffrey Stedfast 2013-01-16 10:10:38 UTC
I see what's going on...

When you attempt to Debug the app, it first tries to build the project before running it because either some code has changed since the previous successful build or because it has never been successfully built.

Then, when you hit "Stop", it cancels the build and it just so happens to be at a point where it is trying to compile the .xib files, and so you get this error.

This isn't really a bug.
Comment 6 Saurabh 2013-03-01 10:00:10 UTC
As per Comment#5 changing the status to Verified