-1
Ld /Users/alexcov329/Library/Developer/Xcode/DerivedData/HF_Navigator-azauuargjyhgsufbmentrezohhkr/Build/Products/Debug-iphonesimulator/HF\ Navigator.app/HF\ Navigator normal i386
cd "/Users/alexcov329/Documents/HF Navigator"
setenv IPHONEOS_DEPLOYMENT_TARGET 7.0
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/iPhoneSimulator7.0.sdk -L/Users/alexcov329/Library/Developer/Xcode/DerivedData/HF_Navigator-azauuargjyhgsufbmentrezohhkr/Build/Products/Debug-iphonesimulator -F/Users/alexcov329/Library/Developer/Xcode/DerivedData/HF_Navigator-azauuargjyhgsufbmentrezohhkr/Build/Products/Debug-iphonesimulator -F/Users/alexcov329/Desktop/HF\ Navigator -F/Users/alexcov329/Documents/HF\ Navigator -filelist /Users/alexcov329/Library/Developer/Xcode/DerivedData/HF_Navigator-azauuargjyhgsufbmentrezohhkr/Build/Intermediates/HF\ Navigator.build/Debug-iphonesimulator/HF\ Navigator.build/Objects-normal/i386/HF\ Navigator.LinkFileList -Xlinker -objc_abi_version -Xlinker 2 -fobjc-arc -fobjc-link-runtime -Xlinker -no_implicit_dylibs -mios-simulator-version-min=7.0 -framework CoreData -framework SystemConfiguration -framework RevMobAds -framework AdSupport -framework StoreKit -framework UIKit -framework Security -framework QuartzCore -framework MobileCoreServices -framework Parse -lz.1.1.3 -framework CoreLocation -framework CoreGraphics -framework CFNetwork -framework AudioToolbox -framework Foundation -Xlinker -dependency_info -Xlinker /Users/alexcov329/Library/Developer/Xcode/DerivedData/HF_Navigator-azauuargjyhgsufbmentrezohhkr/Build/Intermediates/HF\ Navigator.build/Debug-iphonesimulator/HF\ Navigator.build/Objects-normal/i386/HF\ Navigator_dependency_info.dat -o /Users/alexcov329/Library/Developer/Xcode/DerivedData/HF_Navigator-azauuargjyhgsufbmentrezohhkr/Build/Products/Debug-iphonesimulator/HF\ Navigator.app/HF\ Navigator

体系结构 i386 的未定义符号:“_OBJC_CLASS_$_AppDelegate”,引用自:main.o ld 中的 objc-class-ref:未找到体系结构 i386 的符号 clang:错误:链接器命令失败,退出代码为 1(使用 -v查看调用)

4

1 回答 1

0

如果您的类的 .m 文件未在目标的“构建阶段”选项卡的“编译源”步骤下列出,则可能会出现此类错误。通常 Xcode 会为您执行此操作,但有时它会丢失绘图并且您需要手动添加 .m 文件。

去做这个:

TargetSettings -> Build Phases -> Compile Sources -> 添加你的 .m 类 -> Build and Run

答案来源:

架构 i386 的未定义符号:_OBJC_CLASS_$_SKPSMTPMessage”,引用自:错误

于 2013-10-27T04:00:32.643 回答