MonoMac从默认模板构建错误

时间:2012-07-10 05:37:50

标签: c# macos mono monodevelop monomac

我正在尝试使用MonoDevelop 3.0.3.2来创建MonoMac应用程序。我创建了一个新的MonoMac解决方案并尝试运行创建解决方案后创建的模板,但这是我的构建输出:

Building Solution: MAC1 (Debug|x86)

Building: MAC1 (Debug|x86)
Performing main compilation...
/Library/Frameworks/Mono.framework/Versions/2.10.9/bin/dmcs /noconfig
"/out:/Users/zgillis/Projects/MAC1/bin/Debug/MAC1.exe"
"/r:/Library/Frameworks/Mono.framework/Versions/2.10.9/lib/mono/4.0/System.dll" 
"/r:/Library/Frameworks/Mono.framework/Versions/2.10.9/lib/mono/4.0/System.Xml.dll" 
"/r:/Library/Frameworks/Mono.framework/Versions/2.10.9/lib/mono/4.0/System.Core.dll" 
"/r:/Library/Frameworks/Mono.framework/Versions/2.10.9/lib/mono/4.0/System.Xml.Linq.dll" 
"/r:/Library/Frameworks/Mono.framework/Versions/2.10.9/lib/mono/4.0/System.Drawing.dll" 

"/r:/Applications/MonoDevelop.app/Contents/MacOS/lib/monodevelop/AddIns/MonoDevelop.MonoMac/MonoMac.dll" /nologo /warn:4 /debug:full /optimize- /codepage:utf8 /platform:x86     
"/define:DEBUG"  /t:exe "/Users/zgillis/Projects/MAC1/MainWindow.cs"
 "/Users/zgillis/Projects/MAC1/MainWindowController.cs" 
"/Users/zgillis/Projects/MAC1/MainWindow.designer.cs" 
"/Users/zgillis/Projects/MAC1/Main.cs" "/Users/zgillis/Projects/MAC1/AppDelegate.cs" 
"/Users/zgillis/Projects/MAC1/AppDelegate.designer.cs" 

Copying content files
Copying '/Users/zgillis/Projects/MAC1/bin/Debug/MAC1.exe' to
'/Users/zgillis/Projects/MAC1/bin/Debug/MAC1.app/Contents/MonoBundle/MAC1.exe'
Copying '/Users/zgillis/Projects/MAC1/bin/Debug/MAC1.exe.mdb' to 
'/Users/zgillis/Projects/MAC1/bin/Debug/MAC1.app/Contents/MonoBundle/MAC1.exe.mdb'
Build complete -- 0 errors, 0 warnings

Updating application manifest

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

Build successful.
Build failed. The given key was not present in the dictionary.

我正在运行Mac OS X Snow Leopard(10.6.8),而我的Xcode版本是3.2.2。

它甚至不允许我编译默认的MonoMac模板,所以我知道我必须配置错误的东西。我很感激帮助。

1 个答案:

答案 0 :(得分:1)

看起来你的Xcode版本已经过时了 - MonoDevelop可能会支持从较旧的Apple SDKs的plist中读取数值。我建议您使用附加的MonoDevelop日志文件(位于〜/ Library / Logs / MonoDevelop-3.0中)升级Xcode或file a bug