lipo 文件错误不用管,clear就好了,主要是其他的错误.
一般会报如下一连串错误:
重点!(什么也不用改,别乱动项目,clear完 -> 重启Xcode)。
错误 1
clang: error: linker command failed with exit code 1 (use -v to see invocation)
错误 2
Linker command failed with exit code 1 (use -v to see invocation)
错误 3
/Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/lipo: can't open input file: /Users/***/Library/Developer/Xcode/DerivedData/***-fsobhzpjsxprmjgdrrpjljytbbzm/Build/Intermediates.noindex/ArchiveIntermediates/***/IntermediateBuildFilesPath/***.build/Release-iphoneos/***.build/Objects-normal/arm64/*** (No such file or directory)
错误 4
'/Users/***/Library/Developer/Xcode/DerivedData/***-fsobhzpjsxprmjgdrrpjljytbbzm/Build/Intermediates.noindex/ArchiveIntermediates/***/InstallationBuildProductsLocation/Applications/***.app/HearingTestProject': No such file or directory
错误 5
/Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/strip failed with exit code 1