我的代码本身没有错误,但是当我尝试运行时,我得到了这个错误 - Symbol(s) not found for architecture i386 error iOS。我寻找答案,但到目前为止没有任何帮助。我确定我正在链接到正确的库。
此外,当代码本身在不同的项目中运行时,它确实可以工作。从本质上讲,我制作了一个应用程序的各个部分,并且在让它们一起工作时遇到了这个问题。这两个应用程序之间的一切都是相同的。唯一真正的区别是我将它与 coreplot 代码一起运行,所以我不确定这是否与它有关?
由于TFHipple
元素而发生错误。这是错误的副本:
Ld /Users/jyurcho/Library/Developer/Xcode/DerivedData/PennStateStrengthandFitness-epmdweltrbdxujcyuhctckzwibzv/Build/Products/Debug-iphonesimulator/PennStateStrengthandFitness.app/PennStateStrengthandFitness normal i386
cd /Users/jyurcho/Desktop/Testing/PennStateStrengthandFitness
setenv IPHONEOS_DEPLOYMENT_TARGET 6.1
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/iPhoneSimulator6.1.sdk -L/Users/jyurcho/Library/Developer/Xcode/DerivedData/PennStateStrengthandFitness-epmdweltrbdxujcyuhctckzwibzv/Build/Products/Debug-iphonesimulator -L/Users/jyurcho/Desktop/Testing/PennStateStrengthandFitness -F/Users/jyurcho/Library/Developer/Xcode/DerivedData/PennStateStrengthandFitness-epmdweltrbdxujcyuhctckzwibzv/Build/Products/Debug-iphonesimulator -filelist /Users/jyurcho/Library/Developer/Xcode/DerivedData/PennStateStrengthandFitness-epmdweltrbdxujcyuhctckzwibzv/Build/Intermediates/PennStateStrengthandFitness.build/Debug-iphonesimulator/PennStateStrengthandFitness.build/Objects-normal/i386/PennStateStrengthandFitness.LinkFileList -Xlinker -objc_abi_version -Xlinker 2 -ObjC -all_load -fobjc-link-runtime -Xlinker -no_implicit_dylibs -mios-simulator-version-min=6.1 -lxml2 -framework QuartzCore -framework UIKit -framework Foundation -framework CoreGraphics -lCorePlot-CocoaTouch -o /Users/jyurcho/Library/Developer/Xcode/DerivedData/PennStateStrengthandFitness-epmdweltrbdxujcyuhctckzwibzv/Build/Products/Debug-iphonesimulator/PennStateStrengthandFitness.app/PennStateStrengthandFitness
Undefined symbols for architecture i386:
"_OBJC_CLASS_$_TFHpple", referenced from:
objc-class-ref in psuSecondViewController.o
ld: symbol(s) not found for architecture i386
clang: error: linker command failed with exit code 1 (use -v to see invocation)
我很确定我有我需要的所有框架