MonoTouch 不构建示例项目
这很奇怪。我刚刚将 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
我该如何解决它?
This is very weird. I just got MonoDevelop (2.4.1) along with MonoTouch (3.2.2, evaluation version) to my Mac running Mac OS X 10.5.8 and tried to build a solution with it. All I got after hitting "Run" button is
/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
How can I solve it?
如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。
绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论
评论(1)
MonoTouch 3.2.2 需要 Xcode 3.2.5 和 iOS SDK 4.2 Final,这需要 OSX 10.6
MonoTouch 3.2.2 requires Xcode 3.2.5 with iOS SDK 4.2 final, which requires OSX 10.6