我查看了其他有类似问题的问题,但我仍然无法弄清楚出了什么问题。这是我的第一个应用程序,其他答案没有多大意义。我不断收到同样的错误:
Ld /Users/brandonpayne/Library/Developer/Xcode/DerivedData/FordyceSchools-gcczvpeftaotknfzpktdnjoqzncf/Build/Products/Debug-iphonesimulator/FordyceSchools.app/FordyceSchools normal i386
cd /Users/brandonpayne/Desktop/FordyceSchools
setenv MACOSX_DEPLOYMENT_TARGET 10.6
setenv PATH "/Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/usr/bin:/Applications/Xcode.app/Contents/Developer/usr/bin:/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/iPhoneSimulator5.1.sdk -L/Users/brandonpayne/Library/Developer/Xcode/DerivedData/FordyceSchools-gcczvpeftaotknfzpktdnjoqzncf/Build/Products/Debug-iphonesimulator -F/Users/brandonpayne/Library/Developer/Xcode/DerivedData/FordyceSchools-gcczvpeftaotknfzpktdnjoqzncf/Build/Products/Debug-iphonesimulator -filelist /Users/brandonpayne/Library/Developer/Xcode/DerivedData/FordyceSchools-gcczvpeftaotknfzpktdnjoqzncf/Build/Intermediates/FordyceSchools.build/Debug-iphonesimulator/FordyceSchools.build/Objects-normal/i386/FordyceSchools.LinkFileList -mmacosx-version-min=10.6 -Xlinker -objc_abi_version -Xlinker 2 -fobjc-arc -fobjc-link-runtime -Xlinker -no_implicit_dylibs -D__IPHONE_OS_VERSION_MIN_REQUIRED=50100 -framework UIKit -framework Foundation -framework CoreGraphics -o /Users/brandonpayne/Library/Developer/Xcode/DerivedData/FordyceSchools-gcczvpeftaotknfzpktdnjoqzncf/Build/Products/Debug-iphonesimulator/FordyceSchools.app/FordyceSchools
架构 i386 的未定义符号:“_OBJC_CLASS_$_ViewController”,引用自:AppDelegate.o 中的 objc-class-ref ld:未找到架构 i386 的符号 clang:错误:链接器命令失败,退出代码为 1(使用 -v查看调用)
我在我的代码中找不到错误所在。请帮忙。