Bug 1420 - Error occurs stated "Mtouch failed" in build the project.
Summary: Error occurs stated "Mtouch failed" in build the project.
Alias: None
Product: iOS
Classification: Xamarin
Component: General ()
Version: 4.9.xx
Hardware: Macintosh Mac OS
: --- normal
Target Milestone: Untriaged
Assignee: Bugzilla
Depends on:
Reported: 2011-10-11 11:26 UTC by narayanp
Modified: 2011-10-14 08:30 UTC (History)
4 users (show)

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

attachment (143.42 KB, image/tiff)
2011-10-11 11:31 UTC, narayanp

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 narayanp 2011-10-11 11:26:16 UTC
Step To Reproduce:

1.Launch the MonoDevelop.
2.Click on "Start a New Solution" link.
3.Choose C# > MonoTouch > iPhone in left hand panel.
4.Select Single View Application from the center panel.
5.Enter the name and click on OK button.
6.Select on Build<<Build All.

Actual result:
Error occurs stated "Mtouch failed"in build the project.
Expected Result:
Error should not occur and application should build successfully.
Comment 1 narayanp 2011-10-11 11:31:30 UTC
Created attachment 672 [details]
Comment 2 narayanp 2011-10-11 11:44:37 UTC
Lion 10.7
Xcode 4.2 with IOS5
MonoDev 2.8
MonoTouch 4.9.9
Comment 3 Miguel de Icaza [MSFT] 2011-10-11 13:48:12 UTC

When you get an error like this could you attach the output of the Build Output pane?   The actual details of what went wrong are there.
Comment 4 Miguel de Icaza [MSFT] 2011-10-11 14:19:39 UTC
I was not able to reproduce, I suspect the error 99 is some local configuration error.
Comment 5 Atin 2011-10-11 15:48:37 UTC
We were getting below error while RUN the app on Device:

Error message: 

Building: two (Debug|iPhone)

Building Solution two

Building: two (Debug|iPhone)

Detecting signing identity...
Provisioning profile: "iOS Team Provisioning Profile: *" (E2A9E627-D690-4473-B6A6-006D602DC8C6)
Signing Identity: "iPhone Developer: Nischal Kumar (3Z2P26VGA5)"
App ID: "SJ4M429CQ6.two"

Performing main compilation...
/Developer/MonoTouch/usr/bin/smcs /noconfig "/out:/Users/nichal/Projects/two/two/bin/iPhone/Debug/two.exe" "/r:/Developer/MonoTouch/usr/lib/mono/2.1/System.dll" "/r:/Developer/MonoTouch/usr/lib/mono/2.1/System.Xml.dll" "/r:/Developer/MonoTouch/usr/lib/mono/2.1/System.Core.dll" "/r:/Developer/MonoTouch/usr/lib/mono/2.1/monotouch.dll" /nologo /warn:4 /debug:+ /debug:full /optimize- /codepage:utf8 "/define:DEBUG"  /t:exe "/Users/nichal/Projects/two/two/Main.cs" "/Users/nichal/Projects/two/two/AppDelegate.cs" "/Users/nichal/Projects/two/two/twoViewController.cs" "/Users/nichal/Projects/two/two/twoViewController.designer.cs" 

Compiling interface definitions
/Developer/usr/bin/ibtool --errors --warnings --notices --output-format human-readable-text "/Users/nichal/Projects/two/two/twoViewController.xib" --compile "/Users/nichal/Projects/two/two/bin/iPhone/Debug/two.app/twoViewController.nib" --sdk "/Developer/Platforms/iPhoneOS.platform/Developer/SDKs/iPhoneOS5.0.sdk"
Build complete -- 0 errors, 0 warnings

Compiling to native code
/Developer/MonoTouch/usr/bin/mtouch -v --nomanifest --nosign -dev "/Users/nichal/Projects/two/two/bin/iPhone/Debug/two.app" -r "/Developer/MonoTouch/usr/lib/mono/2.1/System.dll" -r "/Developer/MonoTouch/usr/lib/mono/2.1/System.Xml.dll" -r "/Developer/MonoTouch/usr/lib/mono/2.1/System.Core.dll" -r "/Developer/MonoTouch/usr/lib/mono/2.1/monotouch.dll" -debug -linksdkonly -sdk "5.0" "/Users/nichal/Projects/two/two/bin/iPhone/Debug/two.exe"
Invalid license.  Please reactivate MonoTouch
mtouch exited with code 99

---------------------- Done ----------------------

Project does not have bundle identifier specified. Generated 'two' to match an installed provisioning profile.
Build: 1 error, 1 warning
Comment 6 Sebastien Pouliot 2011-10-11 20:57:09 UTC
Invalid license.  Please reactivate MonoTouch
mtouch exited with code 99

Please activate your copy of MonoTouch before continuing testing :-)
Comment 7 Atin 2011-10-14 08:30:03 UTC
Now we have tested this with MonoTouch 5.0 and it is working fine.

Hence, closing this issue.