尝试使用 Xcode 4.4 在 10.8中编译https://github.com/kineme/AudioTools时遇到 Apple Mach-O Linker (ld) 错误。
我认为它在尝试导入此处提供的“SkankySDK”时遇到了问题:https ://github.com/kineme/QCPatchXcodeTemplate
我使用他们的安装脚本将框架复制到系统库中。
我已将框架导入到项目中(它位于Link Binary With Libraries下的Build Phases中,我还尝试将其添加到新的“Copy Files”构建阶段但无济于事)
该框架在我的项目中,位于“框架和库”>“链接框架”下
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/音频工具。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构建/开发/AudioTools.build/Objects-normal/i386/AudioTools构建/开发/AudioTools.build/Objects-normal/i386/AudioTools ld: 找不到框架 SkankySDK collect2: ld 返回 1 个退出状态 命令 /Applications/Xcode.app/Contents/Developer/usr/bin/llvm-gcc-4.2 失败,退出代码为 1