Ld /Users/xxxxxxx/Library/Developer/Xcode/DerivedData/Affectiva-cwgdzearaapwhxcpqywcfkycewwz/Build/Products/Debug-iphonesimulator/Affectiva.app/Affectiva普通x86_64 cd /User/xxxxxxx/Desktop/Affectiva导出IPHONEOS_DEPLOYMENT_TARGET=9.3导出PATH="/Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/usr/bin:/Applications/Xcode.app/Contents/Developer/usr/bin:/usr/local/bin:/usr/bin:/bin:/usr/sbin://Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/clang -arch x86_64 -isysroot -filelist /User/xxxxxxx/Library/Developer/Xcode/DerivedData/Affectiva-cwgdzearaapwhxcpqywcfkycewwz/Build/Intermediates/Affectiva.build/Debug-iphonesimulator/Affectiva.build/Objects-normal/x86_64/Affectiva.LinkFileList -Xlinker -rpath -Xlinker @可执行路径/框架-mios-模拟器-version-min=9.3 -Xlinker -no_deduplicate -Xlinker -objc_abi_version -Xlinker 2-fobjc-圆弧-fobjc-link-运行时-framework Affdex -Xlinker -dependency_info -Xlinker.build/Debug-iphonesimulator/Affectiva.build/Objects-normal/x86_64/Affectiva_dependency_info.dat -o /Users/xxxxxxx/Library/Developer/Xcode/DerivedData/Affectiva-cwgdzearaapwhxcpqywcfkycewwz/Build/Products/Debug-iphonesimulator/Affectiva.app/Affectiva
ld:框架未找到Affdex clang: error: linker命令在退出代码1中失败(使用-v查看调用)
N00b问题。
我做错了什么?
发布于 2016-07-13 12:06:06
此错误:
ld: framework not found Affdex clang: error: linker command failed with exit code 1 (use -v to see invocation)
指示链接器无法找到Affdex.framework。
是否将Affdex.framework文件拖到Xcode项目中?此操作允许Xcode将框架与您的项目相关联,并且应该解决链接器错误。
请注意,您还需要将Affdex.framework添加为嵌入式二进制文件,以便在构建时将其复制到应用程序中。这可以通过选择Xcode中的目标应用程序,然后转到"General“选项卡并将Affdex.framework添加到”嵌入式二进制文件“部分来实现。
https://stackoverflow.com/questions/38342041
复制相似问题