在Monodevelop中,如果我启用Include the Mono runtime in the application bundle
复选框,那么我在构建时遇到此错误:
Merging Mono Runtime into app bundle
/Applications/MonoDevelop.app/Contents/MacOS/lib/monodevelop/AddIns/MonoDevelop.MonoMac/mmp -nolink "-minos=10.6" -o "/Users/Kizumi/src/CmisSync/SparkleShare/Mac/bin/Debug" -n "SparkleShare" -a "/Users/Kizumi/src/CmisSync/bin/SparkleLib.dll" -a "/Users/Kizumi/src/CmisSync/bin/SparkleLib.Cmis.dll" -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.Drawing.dll" -a "/Applications/MonoDevelop.app/Contents/MacOS/lib/monodevelop/AddIns/MonoDevelop.MonoMac/MonoMac.dll" -a "/Library/Frameworks/Mono.framework/Versions/2.10.9/lib/mono/4.0/System.Net.dll" -a "/Library/Frameworks/Mono.framework/Versions/2.10.9/lib/mono/4.0/Mono.Posix.dll" "/Users/Kizumi/src/CmisSync/SparkleShare/Mac/bin/Debug/SparkleShare.exe"
Mono.framework MDK is missing. Please install the MDK for your Mono.framework version from http://mono-project.com/Downloads
mmp exited with code 252
我遵守http://www.mono-project.com/MonoMacPackager的所有要求:
Application Tools
似乎从3.2.6开始包含在XCode中,所以我不需要安装另一个包。我错过了什么吗?
答案 0 :(得分:3)
问题在于尽管有Monodevelop我只有Mono MRE
。
根据错误消息的建议,解决方案是安装Mono MDK
,可以在MRE旁边找到http://www.go-mono.com/mono-downloads/download.html