上传App Store 报错 ERROR ITMS-90087: "unsupported architectures '[x86_64]' "解决办法

在使用rokid sdk的时候,上传到appstore的时候报错,原因是sdk中有x86_64,于是通过终端来去除RokidSDK.framework/RokidSDK中的x86_64,通过lipo -info RokidSDK看结果为Architectures in the fat file: RokidSDK are: x86_64 armv7 arm64。

上传App Store 报错 ERROR ITMS-90087:

cd到RokidSDK.framework的目录里面,执行以下命令进行剔除:

mkdir ./bak

cp -r RokidSDK.framework ./bak

lipo RokidSDK.framework/RokidSDK -thin armv7 -output RokidSDK_armv7

lipo RokidSDK.framework/RokidSDK -thin arm64 -output RokidSDK_arm64

lipo -create RokidSDK_armv7 RokidSDK_arm64 -output RokidSDK

mv RokidSDK RokidSDK.framework/



最后通过lipo -info RokidSDK看结果为 Architectures in the fat file: RokidSDK are: armv7 arm64

你可能感兴趣的:(上传App Store 报错 ERROR ITMS-90087: "unsupported architectures '[x86_64]' "解决办法)