在 xcode 中使用 mono mac
我已经安装了 MonoDevelop 和 Xcode 4.1。当我创建一个项目并单击 .xib 文件并在 Xcode 中构建该项目时,出现以下错误:
Ld DerivedData/FinalTest/Build/Products/MonoMac/FinalTest.app/Contents/MacOS/FinalTest normal i386
cd /Users/Admin/Projects/FinalTest/FinalTest/obj/Xcode/0
setenv MACOSX_DEPLOYMENT_TARGET 10.7
/Developer/usr/bin/clang -arch i386 -isysroot /Developer/SDKs/MacOSX10.7.sdk -L/Users/Admin/Projects/FinalTest/FinalTest/obj/Xcode/0/DerivedData/FinalTest/Build/Products/MonoMac -F/Users/Admin/Projects/FinalTest/FinalTest/obj/Xcode/0/DerivedData/FinalTest/Build/Products/MonoMac -filelist /Users/Admin/Projects/FinalTest/FinalTest/obj/Xcode/0/DerivedData/FinalTest/Build/Intermediates/FinalTest.build/MonoMac/FinalTest.build/Objects-normal/i386/FinalTest.LinkFileList -mmacosx-version-min=10.7 -framework Cocoa -framework Foundation -o /Users/Admin/Projects/FinalTest/FinalTest/obj/Xcode/0/DerivedData/FinalTest/Build/Products/MonoMac/FinalTest.app/Contents/MacOS/FinalTest
Undefined symbols for architecture i386:
"_main", referenced from:
start in crt1.10.6.o
我正在尝试构建 MonoMac 项目。
I have installed MonoDevelop and Xcode 4.1. When I create a project and click on .xib file and build the project in Xcode I get the following error:
Ld DerivedData/FinalTest/Build/Products/MonoMac/FinalTest.app/Contents/MacOS/FinalTest normal i386
cd /Users/Admin/Projects/FinalTest/FinalTest/obj/Xcode/0
setenv MACOSX_DEPLOYMENT_TARGET 10.7
/Developer/usr/bin/clang -arch i386 -isysroot /Developer/SDKs/MacOSX10.7.sdk -L/Users/Admin/Projects/FinalTest/FinalTest/obj/Xcode/0/DerivedData/FinalTest/Build/Products/MonoMac -F/Users/Admin/Projects/FinalTest/FinalTest/obj/Xcode/0/DerivedData/FinalTest/Build/Products/MonoMac -filelist /Users/Admin/Projects/FinalTest/FinalTest/obj/Xcode/0/DerivedData/FinalTest/Build/Intermediates/FinalTest.build/MonoMac/FinalTest.build/Objects-normal/i386/FinalTest.LinkFileList -mmacosx-version-min=10.7 -framework Cocoa -framework Foundation -o /Users/Admin/Projects/FinalTest/FinalTest/obj/Xcode/0/DerivedData/FinalTest/Build/Products/MonoMac/FinalTest.app/Contents/MacOS/FinalTest
Undefined symbols for architecture i386:
"_main", referenced from:
start in crt1.10.6.o
I am trying to build a MonoMac project.
如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。
绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论
评论(1)
MonoDevelop for Xcode 生成的项目并不意味着可以编译。它们仅用于编辑 .xib 文件。
The projects generated by MonoDevelop for Xcode are not meant to compile. They are only meant for editing the .xib files.