EDA365欢迎您登录!
您需要 登录 才可以下载或查看,没有帐号?注册
x
先说环境:xcode7.3.1,真机9.3.2版本、真机8.4版本! S3 ?3 e' X' [
第三方使用cocoaPods管理。
& f7 G) ]5 B- J+ q1 e8 E! x报错如下图:
4 N/ U- U' ?) p4 L. O* e) C7 h! ?
% n3 F. r# g8 K3 N
我在模拟器上设置
W0 B: F2 X% [1 P' XBuild Active Architecture Only的debug为yes,release为NO。 ?# H; D! T& E( ^3 q
Valid architectures添加ARM64
% |/ h/ ~, G2 [4 g7 T S模拟器和真机9.3.2版本正常。 真机8.4上报错16个错误。+ }- u* Z# i8 B4 W
设置Build Active Architecture Only全NO,Valid architectures添加arm64报错同上。: K* H% Q$ q2 \% w
设置Build Active Architecture Only的debug为yes,release为NO,
! {- `. K. y: FValid architectures移除arm64只报错一个。 设置设置Build Active Architecture Only全NO
9 `$ }6 B {" S! B6 TValid architectures移除arm64
6 h% R P( z. Q x) k; Z真机8.4版本正常。9 V5 c0 s$ @4 A
这种临时解决方法能提交AppStore吗?
. {; t8 A3 {! g* C: |为什么会这么报错,有什么方法彻底解决? 在终端使用命令: find . -name *.a -exec lipo -info "{}" \;查看第三方是否支持arm64
' r% d8 z, w+ l, v' j结果如下:
7 Z) P0 M3 q! n. e. bArchitectures in the fat file: ./Pods/JPush/lib/libjpush-ios-2.1.7.a are: armv7 armv7s i386 x86_64 arm64 ; j" g+ a7 {* L9 b3 u; t: A" N
Architectures in the fat file: ./xinetong/Ctrls/OfficeCtrl/AdOfficeCtrl/TempCode0525/Schedule/AgoraSDK/libagora_fat.a are: armv7 i386 x86_64 arm64 - d1 L6 U: H7 l6 C5 E }' p
Architectures in the fat file: ./xinetong/Ctrls/OfficeCtrl/AdOfficeCtrl/TempCode0525/Schedule/AgoraSDK/libagoradep_fat.a are: armv7 i386 x86_64 arm64 f$ f& F- _0 Y# A! I: p: ?/ L
Architectures in the fat file: ./xinetong/Ctrls/OfficeCtrl/AdOfficeCtrl/TempCode0525/Schedule/AgoraSDK/libCrasheye.a are: armv7 i386 x86_64 arm64 & {2 E, R& S; a0 I
0 Z8 K- p* u( g8 W! }6 f
+ s D* m# A9 D0 A4 f( N7 v& f |