使用单声道mac与xcode

时间:2012-02-08 13:27:55

标签: c# xcode mono monodevelop monomac

我安装了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项目。

1 个答案:

答案 0 :(得分:2)

MonoDevelop for Xcode生成的项目无意编译。它们仅用于编辑.xib文件。