我认为在尝试导入“SkankySDK”时会出现问题:https://github.com/kineme/QCPatchXcodeTemplate
我使用他们的安装脚本将框架复制到系统库中。
我已将框架导入到项目中(它位于我的构建阶段 Link Binary With Libraries 下,我也尝试将其添加到新的“复制”中文件“构建阶段无济于事”
框架在我的项目中框架和库>链接框架
Ld build/AudioTools.build/Development/AudioTools.build/Objects-normal/i386/AudioTools normal i386 cd /Users/tenkai/Desktop/Projects/QuartzComposer/AudioTools setenv MACOSX_DEPLOYMENT_TARGET 10.8 /Applications/Xcode.app/Contents/Developer/usr/bin/llvm-gcc-4.2 -arch i386 -bundle -isysroot /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX10.8.sdk -L/Users/tenkai/Desktop/Projects/QuartzComposer/AudioTools/build/Development -L/Users/tenkai/Desktop/Projects/QuartzComposer/AudioTools/Frameworks -F/Users/tenkai/Desktop/Projects/QuartzComposer/AudioTools/build/Development -F/Users/tenkai/Desktop/Projects/QuartzComposer/AudioTools -F/Users/tenkai/Desktop/Projects/QuartzComposer/AudioTools/Frameworks -F/Users/tenkai/Desktop/Projects/QuartzComposer/AudioTools/Frameworks/SkankySDK.framework/Headers -F/Users/tenkai/Desktop/Projects/QuartzComposer/AudioTools/Frameworks/SkankySDK.framework -filelist /Users/tenkai/Desktop/Projects/QuartzComposer/AudioTools/build/AudioTools.build/Development/AudioTools.build/Objects-normal/i386/AudioTools.LinkFileList -Xlinker -rpath -Xlinker "@loader_path/../Frameworks" -mmacosx-version-min=10.8 -dead_strip -fobjc-link-runtime -framework SkankySDK -framework Cocoa -framework Quartz -framework CoreAudio -framework Accelerate -framework AudioToolbox -framework QuickTime -o /Users/tenkai/Desktop/Projects/QuartzComposer/AudioTools/build/AudioTools.build/Development/AudioTools.build/Objects-normal/i386/AudioTools ld: framework not found SkankySDK collect2: ld returned 1 exit status Command /Applications/Xcode.app/Contents/Developer/usr/bin/llvm-gcc-4.2 failed with exit code 1
答案 0 :(得分:0)
这是一个adhock解决方案:
https://github.com/2mc/AudioTools
如果您知道它位于何处,您甚至不需要将SkankySDK添加到项目中。我的位于/ Library / Frameworks的默认位置。所以我将它添加到框架的搜索路径中。
然后仍然缺少文件'AudioEmbeddedFilePatchUI.xib'来构建项目。但是,只是将它从目标中排除就可以构建项目,它似乎仍然有用; - )。