[MonoDevelop] Problem building a Mac .App Bundle.

ForeverTangent forevertangent at gmail.com
Fri May 13 09:50:12 EDT 2011


Hey All,

I am hoping someone can help me out here.

Whenever I try to build a Mac .App Bundle the process seems to fail in Mono Develop.

If I try to link the framework assemblies or link all assemblies, I get the following error.

Unhandled Exception: System.NullReferenceException: Object reference not set to an instance of an object
  at MonoMac.Bundler.Driver.Link () [0x00000] in <filename unknown>:0 
  at MonoMac.Bundler.Driver.Main (System.String[] args) [0x00000] in <filename unknown>:0 

Unhandled Exception: System.NullReferenceException: Object reference not set to an instance of an object
  at MonoMac.Bundler.Driver.Link () [0x00000] in <filename unknown>:0 
  at MonoMac.Bundler.Driver.Main (System.String[] args) [0x00000] in <filename unknown>:0 

If I choose 'Don't Link Assemblies' I get the following output...

Merging Mono into app bundle
mmp --nolink -o "/tmp/monomac-build-634408767922848530" -n "MyFirst" -a "/Library/Frameworks/Mono.framework/Versions/2.10.1/lib/mono/4.0/System.dll" -a "/Library/Frameworks/Mono.framework/Versions/2.10.1/lib/mono/4.0/System.Xml.dll" -a "/Library/Frameworks/Mono.framework/Versions/2.10.1/lib/mono/4.0/System.Core.dll" -a "/Library/Frameworks/Mono.framework/Versions/2.10.1/lib/mono/4.0/System.Xml.Linq.dll" -a "/Library/Frameworks/Mono.framework/Versions/2.10.1/lib/mono/4.0/System.Drawing.dll" -a "/Users/staque/.config/MonoDevelop/addins/MonoDevelop.MonoMac.2.4.2.4/MonoMac.dll" "/Users/staque/Development/MonoProjects/MyFirst/MyFirst/bin/Release/MyFirst.exe"
Process exited with code 1, command:
gcc -mmacosx-version-min=10.5 -m32 /tmp/monomac-build-634408767922848530/MyFirst.app/Contents/MacOS/driver.m -o /tmp/monomac-build-634408767922848530/MyFirst.app/Contents/MacOS/MyFirst -D_THREAD_SAFE -I/Library/Frameworks/Mono.framework/Versions/2.10.1/include/mono-2.0   /Library/Frameworks/Mono.framework/Versions/2.10.1/lib/libmono-2.0.a -framework AppKit -liconv
bundling complete

And I end up with a broke or damaged App bundle?


Thanks in advance.


Stan

====
Stan Rosenbaum - Staque
ForeverTangent at gmail.com
constructive-noise.info






More information about the Monodevelop-list mailing list