私のコード自体にはエラーはありませんが、実行しようとすると、このエラーが発生します - Symbol(s) not found for architecture i386 error iOS. 答えを探しましたが、これまでのところ何も役に立ちませんでした。正しいライブラリにリンクしていると確信しています。
さらに、別のプロジェクトで単独で実行すると、コードは機能します。本質的に、私はアプリの断片を作成し、それらをすべて連携させるときにこの問題に遭遇しました。2 つのアプリ間ですべてが同一です。唯一の本当の違いは、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)
必要なすべてのフレームワークがあると確信しています