MonoTouch 不构建示例项目

发布于 2024-10-07 04:17:55 字数 1643 浏览 3 评论 0原文

这很奇怪。我刚刚将 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 技术交流群。

扫码二维码加入Web技术交流群

发布评论

需要 登录 才能够评论, 你可以免费 注册 一个本站的账号。

评论(1

大海や 2024-10-14 04:17:55

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

~没有更多了~
我们使用 Cookies 和其他技术来定制您的体验包括您的登录状态等。通过阅读我们的 隐私政策 了解更多相关信息。 单击 接受 或继续使用网站,即表示您同意使用 Cookies 和您的相关数据。
原文