1

我已经从https://github.com/mattdonnelly/MDAudioPlayerController下载了一个示例源代码,但是当我在 Xcode 4.52 版中打开时,我收到错误“Undefined symbols for architecture i386:”_OBJC_CLASS_$_MDAudioPlayerTableViewCell”,引用自:MDAudioPlayerController.o ld 中的 objc-class-ref:未找到体系结构 i386 的符号:错误:链接器命令失败,退出代码为 1(使用 -v 查看调用)”

Ld /Users/fastpwr/Library/Developer/Xcode/DerivedData/MDAudioPlayerSample-cyywpdxygeoqowdjhtaosupvdbns/Build/Products/Debug-iphonesimulator/MDAudioPlayerSample.app/MDAudioPlayerSample normal i386
cd "/Users/fastpwr/Downloads/MDAudioPlayerController-master-1/Sample App"
setenv IPHONEOS_DEPLOYMENT_TARGET 6.0
setenv PATH "/Users/fastpwr/Desktop/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/usr/bin:/Users/fastpwr/Desktop/Xcode.app/Contents/Developer/usr/bin:/usr/bin:/bin:/usr/sbin:/sbin"
/Users/fastpwr/Desktop/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/clang -arch i386 -isysroot /Users/fastpwr/Desktop/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator6.0.sdk -L/Users/fastpwr/Library/Developer/Xcode/DerivedData/MDAudioPlayerSample-cyywpdxygeoqowdjhtaosupvdbns/Build/Products/Debug-iphonesimulator -F/Users/fastpwr/Library/Developer/Xcode/DerivedData/MDAudioPlayerSample-cyywpdxygeoqowdjhtaosupvdbns/Build/Products/Debug-iphonesimulator -filelist /Users/fastpwr/Library/Developer/Xcode/DerivedData/MDAudioPlayerSample-cyywpdxygeoqowdjhtaosupvdbns/Build/Intermediates/MDAudioPlayerSample.build/Debug-iphonesimulator/MDAudioPlayerSample.build/Objects-normal/i386/MDAudioPlayerSample.LinkFileList -Xlinker -objc_abi_version -Xlinker 2 -fobjc-link-runtime -Xlinker -no_implicit_dylibs -mios-simulator-version-min=6.0 -framework CoreMIDI -framework AudioToolbox -framework CoreData -framework Foundation -framework UIKit -framework AVFoundation -framework QuartzCore -framework CoreGraphics -o /Users/fastpwr/Library/Developer/Xcode/DerivedData/MDAudioPlayerSample-cyywpdxygeoqowdjhtaosupvdbns/Build/Products/Debug-iphonesimulator/MDAudioPlayerSample.app/MDAudioPlayerSample![enter image description here][1]
4

0 回答 0