打包Framework

合并两个Framework

lipo -create ./Debug-iphoneos/NetworkExtensionSDK.framework/NetworkExtensionSDK ./Debug iphonesimulator/NetworkExtensionSDK.framework/NetworkExtensionSDK -output ./NetworkExtensionSDK

检查指令集

lipo -info ./Debug-iphoneos/NetworkExtensionSDK.framework/NetworkExtensionSDK 

使用cp命令移动生成的文件到framework

cp ./NetworkSDK ./Debug-iphoneos/NetworkSDK.framework/

你可能感兴趣的:(打包Framework)