iOS Framework lipo报错 lipo: can't map input file

时间:2021-02-14 20:52:09

fatal error: /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/lipo: can't map input file: xxxFramework.framework/ (Invalid argument)

 

原因在于:

lipo -info xxxFramework.framework

 

而命令需要是

lipo -info xxxFramework.framework/xxxFramework

 

或者

cd xxxFramework.framework
lipo -info xxxFramework