在MonoTouch的遊輪天高地厚未定義的符號。的XCode與單一視圖的應用(MonoDevelop的)失敗建設 - 爲i386硬件架構
步驟我跟着從Xamarin網站Hellow世界嘖嘖; http://docs.xamarin.com/ios/getting_started/hello_iphone
1)通過App Store的
2)安裝了XCode安裝的MonoDevelop從Xamarin網站新鮮
創建新項目 「HelloApple」(單一視圖應用)在MonoDevelop中。
構建應用程序(command + B)。
打開與XCode的界面生成器
所生成的文件HelloApple_UIViewController.xib點擊運行按鈕。
收到以下錯誤;
Ld DerivedData/HelloApple.UI/Build/Products/MonoTouch-iphonesimulator/HelloApple.UI.app/HelloApple.UI normal i386 cd /Users/randerson/Projects/HelloApple/HelloApple.UI/obj/Xcode/1 setenv IPHONEOS_DEPLOYMENT_TARGET 6.0 setenv PATH "/Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/usr/bin:/Applications/Xcode.app/Contents/Developer/usr/bin:/Applications/MonoDevelop.app:/usr/bin:/bin:/usr/sbin:/sbin" /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/clang -arch i386 -isysroot /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator6.0.sdk -L/Users/randerson/Projects/HelloApple/HelloApple.UI/obj/Xcode/1/DerivedData/HelloApple.UI/Build/Products/MonoTouch-iphonesimulator -F/Users/randerson/Projects/HelloApple/HelloApple.UI/obj/Xcode/1/DerivedData/HelloApple.UI/Build/Products/MonoTouch-iphonesimulator -filelist /Users/randerson/Projects/HelloApple/HelloApple.UI/obj/Xcode/1/DerivedData/HelloApple.UI/Build/Intermediates/HelloApple.UI.build/MonoTouch-iphonesimulator/HelloApple.UI.build/Objects-normal/i386/HelloApple.UI.LinkFileList -Xlinker -objc_abi_version -Xlinker 2 -fobjc-link-runtime -Xlinker -no_implicit_dylibs -mios-simulator-version-min=6.0 -framework UIKit -framework MapKit -framework Foundation -framework CoreGraphics -o /Users/randerson/Projects/HelloApple/HelloApple.UI/obj/Xcode/1/DerivedData/HelloApple.UI/Build/Products/MonoTouch-iphonesimulator/HelloApple.UI.app/HelloApple.UI
Undefined symbols for architecture i386: "_main", referenced from: start in crt1.o ld: symbol(s) not found for architecture i386 clang: error: linker command failed with exit code 1 (use -v to see invocation)
我已經卸載Xcode和MonoDevelop的思考我做出來的東西爲了什麼的幾十倍。 真的難倒了。我會認爲這個例子可以解決問題,所以我在這裏錯過了一些東西。 StackOverflow上的幾篇文章圍繞着更復雜的已經構建的應用程序,這是沒有添加任何項目的開箱即用。
我錯過了什麼?
看起來好像什麼都沒有被編譯成目標c。或者至少所有進入XCode的h文件都是空的。 –