1

有两个名为“Release-iphoneos”和“Release-iphonesimulator”的floder,我使用这些命令创建通用框架,但仍然有一些错误“文件是为x86_64构建的,它不是被链接的架构(i386)”

lipo -create "Release-iphoneos/Fxencrypt.framework/Fxencrypt" "Release-iphonesimulator/Fxencrypt.framework/Fxencrypt" -输出 "Fxencrypt"

cp -R Release-iphoneos/Fxencrypt.framework ./Fxencrypt.framwork

mv Fxencrypt ./Fxencrypt.framwork/Fxencrypt

脂肪信息是这些

lipo -info Release-iphoneos/Fxencrypt.framework/Fxencrypt fat文件中的架构:Release-iphoneos/Fxencrypt.framework/Fxencrypt是:armv7 arm64

lipo -info Release-iphonesimulator/Fxencrypt.framework/Fxencrypt fat 文件中的架构:Release-iphonesimulator/Fxencrypt.framework/Fxencrypt 为:i386 x86_64

lipo -info Fxencrypt.framework/Fxencrypt fat 文件中的架构:Fxencrypt.framework/Fxencrypt 为:armv7 i386 x86_64 arm64

4

0 回答 0