MonoTouch不构建示例项目

时间:2010-12-09 15:03:16

标签: iphone xamarin.ios monodevelop

这很奇怪。我刚刚将MonoDevelop(2.4.1)和MonoTouch(3.2.2,评估版)一起安装到运行Mac OS X 10.5.8的Mac上,并试图用它构建一个解决方案。点击“运行”按钮后我得到的只是

/Developer/MonoTouch/usr/bin/smcs /noconfig "/out:/Users/antonzuravskij/Projects/TestProject/TestProject/bin/iPhoneSimulator/Debug/TestProject.exe" "/r:/Developer/MonoTouch/usr/lib/mono/2.1/System.dll" "/r:/Developer/MonoTouch/usr/lib/mono/2.1/System.Xml.dll" "/r:/Developer/MonoTouch/usr/lib/mono/2.1/System.Core.dll" "/r:/Developer/MonoTouch/usr/lib/mono/2.1/monotouch.dll" /nologo /warn:4 /debug:+ /debug:full /optimize- /codepage:utf8 "/define:DEBUG"  /t:exe "/Users/antonzuravskij/Projects/TestProject/TestProject/Main.cs" "/Users/antonzuravskij/Projects/TestProject/TestProject/MainWindow.xib.designer.cs" "/Users/antonzuravskij/Projects/TestProject/TestProject/MainViewController.cs" "/Users/antonzuravskij/Projects/TestProject/TestProject/MainView.cs" "/Users/antonzuravskij/Projects/TestProject/TestProject/MainView.xib.designer.cs" "/Users/antonzuravskij/Projects/TestProject/TestProject/FlipsideViewController.cs" "/Users/antonzuravskij/Projects/TestProject/TestProject/FlipsideView.cs" "/Users/antonzuravskij/Projects/TestProject/TestProject/FlipsideView.xib.designer.cs" -mmacosx-version-min=10.5 

dyld: unknown required load command 0x80000022
/Developer/MonoTouch/usr/bin/smcs: line 2: 81676 Trace/BPT trap          MONO_PATH=/Developer/MonoTouch/usr/lib/mono/2.1 /Developer/MonoTouch/usr/bin/mono /Developer/MonoTouch/usr/lib/mono/2.1/smcs.exe "$@"


dyld: unknown required load command 0x80000022
/Developer/MonoTouch/usr/bin/smcs: line 2: 81676 Trace/BPT trap 

我该如何解决?

1 个答案:

答案 0 :(得分:4)

MonoTouch 3.2.2需要Xcode 3.2.5和iOS SDK 4.2 final,这需要OSX 10.6