EDA365欢迎您登录!
您需要 登录 才可以下载或查看,没有帐号?注册
x
先说环境:xcode7.3.1,真机9.3.2版本、真机8.4版本1 D4 M3 @5 ]0 V: W+ l
第三方使用cocoaPods管理。
- Y! y7 m9 y" o/ R ~报错如下图:" W; ?0 V1 p) W$ H0 r- U; i
% l2 b% a3 }& b4 {6 j
我在模拟器上设置0 S" n' F U1 l- `1 m8 h' A
Build Active Architecture Only的debug为yes,release为NO。. W3 Y& I4 ], z
Valid architectures添加ARM64
- c6 C* d) J, [+ I模拟器和真机9.3.2版本正常。 真机8.4上报错16个错误。/ `2 @* r; r! B8 z. o! K
设置Build Active Architecture Only全NO,Valid architectures添加arm64报错同上。" ]1 L% G; b% k- `2 N6 W7 N" U2 C+ n* v$ s
设置Build Active Architecture Only的debug为yes,release为NO,
) V/ l/ O+ O9 w' B; `2 XValid architectures移除arm64只报错一个。 设置设置Build Active Architecture Only全NO2 ~! R$ S- e. d' |2 ?
Valid architectures移除arm642 C2 P( }! r: t' n) X" x
真机8.4版本正常。
9 Q; Y; M7 O* |$ l; K6 W4 [这种临时解决方法能提交AppStore吗?
* L0 n7 s/ ^+ C& S& B为什么会这么报错,有什么方法彻底解决? 在终端使用命令: find . -name *.a -exec lipo -info "{}" \;查看第三方是否支持arm64
# ]4 t. R# x( |1 \- Q" W结果如下:9 @* n$ ?; K' |5 a
Architectures in the fat file: ./Pods/JPush/lib/libjpush-ios-2.1.7.a are: armv7 armv7s i386 x86_64 arm64
" t4 S' c' w, j6 D* S/ ]Architectures in the fat file: ./xinetong/Ctrls/OfficeCtrl/AdOfficeCtrl/TempCode0525/Schedule/AgoraSDK/libagora_fat.a are: armv7 i386 x86_64 arm64
5 r: S1 W. p( u" ~( n6 `. mArchitectures in the fat file: ./xinetong/Ctrls/OfficeCtrl/AdOfficeCtrl/TempCode0525/Schedule/AgoraSDK/libagoradep_fat.a are: armv7 i386 x86_64 arm64
1 ]6 @6 M9 Z9 ZArchitectures in the fat file: ./xinetong/Ctrls/OfficeCtrl/AdOfficeCtrl/TempCode0525/Schedule/AgoraSDK/libCrasheye.a are: armv7 i386 x86_64 arm64 " g1 b: u: e3 E- m5 r& f
$ \& m; H& s! Y7 ~7 v3 i# u/ [( ?' c: N9 D n z( \
|