長(zhǎng)期維護(hù)的iOS開源項(xiàng)目:
https://github.com/zjjzmw1/XM_OC_TOOL
使用百度云OCR上傳appstore 的時(shí)候報(bào)錯(cuò):
主要是AipBase.frameworK的問(wèn)題特笋。
如圖:
屏幕快照 2018-05-30 下午4.54.45.png
解決版本:
一: 進(jìn)入你項(xiàng)目中的 AipBase.framework
命令: cd AipOcrSdk/AipBase.framework
二: 使用lifo -info 可以查看包含的架構(gòu)
命令:lipo -info AipBase
展示的應(yīng)該是: Architectures in the fat file: AipBase are: i386 x86_64 armv7 armv7s arm64
三: 移除x86_64, i386
命令一:lipo -remove x86_64 AipBase -o AipBase
命令二:lipo -remove i386 AipBase -o AipBase
再次查看
lipo -info AipBase
展示應(yīng)該是: Architectures in the fat file: AipBase are: armv7 armv7s arm64