ld:框架未findAudioUnit
我包括另一个项目,我即使在包括所有需要的库时也会出现这个错误。
这是错误的细节:
Ld /Users/alialzahrani/Library/Developer/Xcode/DerivedData/IMS3-ezltqoccjhjpvuakngozvwcsppvh/Build/Products/Debug-iphoneos/IMS3.app/IMS3 normal armv7 cd /Users/alialzahrani/Desktop/IMSFolder/mydoubs/iPhone/idoubs/branches/2.0/IMS3 setenv IPHONEOS_DEPLOYMENT_TARGET 6.0 setenv PATH "/Applications/Xcode.app/Contents/Developer/Platforms/iPhoneOS.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 armv7 -isysroot /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneOS.platform/Developer/SDKs/iPhoneOS6.0.sdk -L/Users/alialzahrani/Library/Developer/Xcode/DerivedData/IMS3-ezltqoccjhjpvuakngozvwcsppvh/Build/Products/Debug-iphoneos -L/Users/alialzahrani/Desktop/IMSFolder/mydoubs/doubango/branches/2.0/doubango/thirdparties/iphone/lib/armv7 -F/Users/alialzahrani/Library/Developer/Xcode/DerivedData/IMS3-ezltqoccjhjpvuakngozvwcsppvh/Build/Products/Debug-iphoneos -filelist /Users/alialzahrani/Library/Developer/Xcode/DerivedData/IMS3-ezltqoccjhjpvuakngozvwcsppvh/Build/Intermediates/IMS3.build/Debug-iphoneos/IMS3.build/Objects-normal/armv7/IMS3.LinkFileList -dead_strip -fobjc-link-runtime -stdlib=libc++ -miphoneos-version-min=6.0 -framework AudioUnit -framework AVFoundation -framework CoreAudio -lsqlite3 -lresolv -framework AudioToolbox -framework AddressBook -framework AddressBookUI -framework CFNetwork -framework CoreMedia -framework CoreVideo -framework SystemConfiguration -framework CoreGraphics /Users/alialzahrani/Library/Developer/Xcode/DerivedData/IMS3-ezltqoccjhjpvuakngozvwcsppvh/Build/Products/Debug-iphoneos/libios_ngn_stack.a /Users/alialzahrani/Library/Developer/Xcode/DerivedData/IMS3-ezltqoccjhjpvuakngozvwcsppvh/Build/Products/Debug-iphoneos/libtinyDAV.a /Users/alialzahrani/Library/Developer/Xcode/DerivedData/IMS3-ezltqoccjhjpvuakngozvwcsppvh/Build/Products/Debug-iphoneos/libtinyHTTP.a /Users/alialzahrani/Library/Developer/Xcode/DerivedData/IMS3-ezltqoccjhjpvuakngozvwcsppvh/Build/Products/Debug-iphoneos/libtinyIPSec.a /Users/alialzahrani/Library/Developer/Xcode/DerivedData/IMS3-ezltqoccjhjpvuakngozvwcsppvh/Build/Products/Debug-iphoneos/libtinyMEDIA.a /Users/alialzahrani/Library/Developer/Xcode/DerivedData/IMS3-ezltqoccjhjpvuakngozvwcsppvh/Build/Products/Debug-iphoneos/libtinyMSRP.a /Users/alialzahrani/Library/Developer/Xcode/DerivedData/IMS3-ezltqoccjhjpvuakngozvwcsppvh/Build/Products/Debug-iphoneos/libtinyNET.a /Users/alialzahrani/Library/Developer/Xcode/DerivedData/IMS3-ezltqoccjhjpvuakngozvwcsppvh/Build/Products/Debug-iphoneos/libtinyRTP.a /Users/alialzahrani/Library/Developer/Xcode/DerivedData/IMS3-ezltqoccjhjpvuakngozvwcsppvh/Build/Products/Debug-iphoneos/libtinySAK.a /Users/alialzahrani/Library/Developer/Xcode/DerivedData/IMS3-ezltqoccjhjpvuakngozvwcsppvh/Build/Products/Debug-iphoneos/libtinySDP.a /Users/alialzahrani/Library/Developer/Xcode/DerivedData/IMS3-ezltqoccjhjpvuakngozvwcsppvh/Build/Products/Debug-iphoneos/libtinySIGCOMP.a /Users/alialzahrani/Library/Developer/Xcode/DerivedData/IMS3-ezltqoccjhjpvuakngozvwcsppvh/Build/Products/Debug-iphoneos/libtinySIP.a /Users/alialzahrani/Library/Developer/Xcode/DerivedData/IMS3-ezltqoccjhjpvuakngozvwcsppvh/Build/Products/Debug-iphoneos/libtinySMS.a /Users/alialzahrani/Library/Developer/Xcode/DerivedData/IMS3-ezltqoccjhjpvuakngozvwcsppvh/Build/Products/Debug-iphoneos/libtinyWRAP.a /Users/alialzahrani/Library/Developer/Xcode/DerivedData/IMS3-ezltqoccjhjpvuakngozvwcsppvh/Build/Products/Debug-iphoneos/libtinyXCAP.a -framework UIKit -framework Foundation -o /Users/alialzahrani/Library/Developer/Xcode/DerivedData/IMS3-ezltqoccjhjpvuakngozvwcsppvh/Build/Products/Debug-iphoneos/IMS3.app/IMS3 ld: framework not found AudioUnit clang: error: linker command failed with exit code 1 (use -v to see invocation)
这里是我所做的所有库,包括:
如果没有包括框架,我得到110错误:
audio单元只是一个伞式框架,它没有任何实际的dynamic库链接,只有头。 不要将其添加到项目中,并且构build将会成功。 (audio单元的实际符号位于另一个框架中,IIRC是AudioToolbox。)
当我创build录音机的应用程序时,我遇到了同样的错误。
你只需要做一件事,只需添加AudioToolbox framework, CoreAudio framework.
在你的项目中,还#import <AudioToolbox/AudioToolbox.h>, #import <CoreAudio/CoreAudioTypes.h>
- 图书馆没有加载 – 阿拉莫菲尔
- 本地化IOSbutton标签
- 我怎样才能让Xcode 5在Jenkins slave上运行iOSunit testing?
- 如何打印购物车项目,删除shopify ios sdk中的购物车项目?
- 如何解决游戏中心的邀请朋友?
- 类目标中所有方法的lldb断点c
- 帧持续时间 – UIImage数组到电影
- targetContentOffsetForProposedContentOffset:withScrollingVelocity无子类化UICollectionViewFlowLayout
- 在signUpInBackgroundWithBlock期间将configuration文件图像上传到parse.com时遇到问题