title: MonoMac Create Mac Installer results in Merging Mono Failed. FATAL UNHANDLED EXCEPTION
body: <p>I am using MonoDevelop 2.8.8.4 and MonoFramework (MDK) 2.10.9_8. I'm also using Mac OSX Lion 10.7.3 and have installed XCode 4.3.1 for Lion SDK.  My MonoMac application runs fine when debugging with MonoDevelop. Then I tried to create the Application Bundle by going to Project -> Create Mac Installer... </p>
  
  <p>"Include Mono in Application Bundle" is checked</p>
  
  <p>Linker: is set to "Don't link assemblies"</p>
  
  <p>Everything else is unchecked and grayed out.</p>
  
  <p>When I hit "Create Package" then "Save", MonoDevelop begins to create the bundle but then it fails with:</p>
  
  <pre><code>Unhandled Exception: System.ComponentModel.Win32Exception: ApplicationName='gcc', CommandLine='-mmacosx-version-min=10.5 -m32 /tmp/monomac-build-634690657739224650/AboutToBlowUpDemo.app/Contents/MacOS/driver.m -o /tmp/monomac-build-634690657739224650/AboutToBlowUpDemo.app/Contents/MacOS/AboutToBlowUpDemo -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 &lt;filename unknown&gt;:0   
    at System.Diagnostics.Process.Start_common (System.Diagnostics.ProcessStartInfo startInfo, System.Diagnostics.Process process) [0x00000] in &lt;filename unknown&gt;:0   
    at System.Diagnostics.Process.Start (System.Diagnostics.ProcessStartInfo startInfo) [0x00000] in &lt;filename unknown&gt;:0   
    at MonoMac.Bundler.Driver.RunCommand (System.String path, System.String args, System.String[] env, System.String&amp; output) [0x00000] in &lt;filename unknown&gt;:0   
    at MonoMac.Bundler.Driver.Compile () [0x00000] in &lt;filename unknown&gt;:0   
    at MonoMac.Bundler.Driver.Main (System.String[] args) [0x00000] in &lt;filename unknown&gt;:0   
  
  [ERROR] FATAL UNHANDLED EXCEPTION: System.ComponentModel.Win32Exception: ApplicationName='gcc', CommandLine='-mmacosx-version-min=10.5 -m32 /tmp/monomac-build-634690657739224650/AboutToBlowUpDemo.app/Contents/MacOS/driver.m -o /tmp/monomac-build-634690657739224650/AboutToBlowUpDemo.app/Contents/MacOS/AboutToBlowUpDemo -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 &lt;filename unknown&gt;:0   
    at System.Diagnostics.Process.Start_common (System.Diagnostics.ProcessStartInfo startInfo, System.Diagnostics.Process process) [0x00000] in &lt;filename unknown&gt;:0   
    at System.Diagnostics.Process.Start (System.Diagnostics.ProcessStartInfo startInfo) [0x00000] in &lt;filename unknown&gt;:0   
    at MonoMac.Bundler.Driver.RunCommand (System.String path, System.String args, System.String[] env, System.String&amp; output) [0x00000] in &lt;filename unknown&gt;:0   
    at MonoMac.Bundler.Driver.Compile () [0x00000] in &lt;filename unknown&gt;:0   
    at MonoMac.Bundler.Driver.Main (System.String[] args) [0x00000] in &lt;filename unknown&gt;:0   
  </code></pre>
  
  <p>mmp exited with code 1  </p>
  
  <p>Merging Mono failed</p>
  
  <p>I've also tried every other combination in the "Create Mac Installer…" window but I always get the same error. Can anybody tell me what I'm doing wrong?</p>