Resolving error message when merging MonoMac runtime into app bundle

Currently working on my first MonoMac application I got the following long error message during app bundle merging:

Merging Mono Runtime into app bundle

/Applications/MonoDevelop.app/Contents/MacOS/lib/monodevelop/AddIns/MonoDevelop.MonoMac/mmp „-minos=10.6“ -o „/Users/uwe/Dropbox/Beruf/Projekte/Programmierung/ZetaUploaderMac/MonoMac/Source/ZetaUploaderMonoMac/bin/Release“ -n „ZetaUploaderMonoMac“ -a „/Library/Frameworks/Mono.framework/Versions/2.10.9/lib/mono/4.0/System.dll“ -a „/Library/Frameworks/Mono.framework/Versions/2.10.9/lib/mono/4.0/System.Xml.dll“ -a „/Library/Frameworks/Mono.framework/Versions/2.10.9/lib/mono/4.0/System.Core.dll“ -a „/Library/Frameworks/Mono.framework/Versions/2.10.9/lib/mono/4.0/System.Xml.Linq.dll“ -a „/Library/Frameworks/Mono.framework/Versions/2.10.9/lib/mono/4.0/System.Drawing.dll“ -a „/Applications/MonoDevelop.app/Contents/MacOS/lib/monodevelop/AddIns/MonoDevelop.MonoMac/MonoMac.dll“ „/Users/uwe/Dropbox/Beruf/Projekte/Programmierung/ZetaUploaderMac/MonoMac/Source/ZetaUploaderMonoMac/bin/Release/ZetaUploaderMonoMac.exe“

 

Unhandled Exception: System.ComponentModel.Win32Exception: ApplicationName=’gcc‘, CommandLine=‘-mmacosx-version-min=10.6 -m32 /Users/uwe/Dropbox/Beruf/Projekte/Programmierung/ZetaUploaderMac/MonoMac/Source/ZetaUploaderMonoMac/bin/Release/ZetaUploaderMonoMac.app/Contents/MacOS/driver.m -o /Users/uwe/Dropbox/Beruf/Projekte/Programmierung/ZetaUploaderMac/MonoMac/Source/ZetaUploaderMonoMac/bin/Release/ZetaUploaderMonoMac.app/Contents/MacOS/ZetaUploaderMonoMac -D_THREAD_SAFE -I/Library/Frameworks/Mono.framework/Versions/2.10.9/include/mono-2.0   /Library/Frameworks/Mono.framework/Versions/2.10.9/lib/libmono-2.0.a -framework AppKit -liconv‘, CurrentDirectory=“

at System.Diagnostics.Process.Start_noshell (System.Diagnostics.ProcessStartInfo startInfo, System.Diagnostics.Process process) [0x00000] in <filename unknown>:0

at System.Diagnostics.Process.Start_common (System.Diagnostics.ProcessStartInfo startInfo, System.Diagnostics.Process process) [0x00000] in <filename unknown>:0

at System.Diagnostics.Process.Start (System.Diagnostics.ProcessStartInfo startInfo) [0x00000] in <filename unknown>:0

at MonoMac.Bundler.Driver.RunCommand (System.String path, System.String args, System.String[] env, System.String& output) [0x00000] in <filename unknown>:0

at MonoMac.Bundler.Driver.Compile () [0x00000] in <filename unknown>:0

at MonoMac.Bundler.Driver.Main (System.String[] args) [0x00000] in <filename unknown>:0

[ERROR] FATAL UNHANDLED EXCEPTION: System.ComponentModel.Win32Exception: ApplicationName=’gcc‘, CommandLine=‘-mmacosx-version-min=10.6 -m32 /Users/uwe/Dropbox/Beruf/Projekte/Programmierung/ZetaUploaderMac/MonoMac/Source/ZetaUploaderMonoMac/bin/Release/ZetaUploaderMonoMac.app/Contents/MacOS/driver.m -o /Users/uwe/Dropbox/Beruf/Projekte/Programmierung/ZetaUploaderMac/MonoMac/Source/ZetaUploaderMonoMac/bin/Release/ZetaUploaderMonoMac.app/Contents/MacOS/ZetaUploaderMonoMac -D_THREAD_SAFE -I/Library/Frameworks/Mono.framework/Versions/2.10.9/include/mono-2.0   /Library/Frameworks/Mono.framework/Versions/2.10.9/lib/libmono-2.0.a -framework AppKit -liconv‘, CurrentDirectory=“

at System.Diagnostics.Process.Start_noshell (System.Diagnostics.ProcessStartInfo startInfo, System.Diagnostics.Process process) [0x00000] in <filename unknown>:0

at System.Diagnostics.Process.Start_common (System.Diagnostics.ProcessStartInfo startInfo, System.Diagnostics.Process process) [0x00000] in <filename unknown>:0

at System.Diagnostics.Process.Start (System.Diagnostics.ProcessStartInfo startInfo) [0x00000] in <filename unknown>:0

at MonoMac.Bundler.Driver.RunCommand (System.String path, System.String args, System.String[] env, System.String& output) [0x00000] in <filename unknown>:0

at MonoMac.Bundler.Driver.Compile () [0x00000] in <filename unknown>:0

at MonoMac.Bundler.Driver.Main (System.String[] args) [0x00000] in <filename unknown>:0

mmp exited with code 1

After searching through Google I found the Stack Overflow article „MonoMac Create Mac Installer results in Merging Mono Failed. FATAL UNHANDLED EXCEPTION“ which has an answer stating that the gcc tool is not installed. He also points to to another Stack Overflow answer telling how to do it.

Basically, use Xcode to download install gcc.

On my system, this actually resolved the issue.

Ankommende Suchanfragen:

  • awk group vorstellungsgespräch