3

在 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的所有要求:

  • 在 Snow Leopard 上,我安装了 XCode 3.2.6(在 Snow Leopard 上运行的最后一个 XCode 版本),最低要求是 XCode 3.2.5
  • Application Tools自 3.2.6 起似乎包含在 XCode 中,所以我不需要安装另一个包。
  • 我安装了 Mono 2.10.9
  • 我安装了 Monodevelop 3.0.5
  • 我在 Monodevelop 中启用了 MonoMac 3.0.5

我错过了什么吗?

4

1 回答 1

3

问题是尽管有 Monodevelop 我只有Mono MRE.

正如错误消息所建议的那样,解决方案是安装Mono MDK,可以在此处的 MRE 旁边找到:http ://www.go-mono.com/mono-downloads/download.html

于 2012-12-03T10:11:55.743 回答