Lipo移除ORC架构

Posted gj-ios

tags:

篇首语:本文由小常识网(cha138.com)小编为大家整理,主要介绍了Lipo移除ORC架构相关的知识,希望对你有一定的参考价值。

Lipo移除ORC架构

打包前检查链接


https://cloud.baidu.com/doc/OCR/OCR-ios-SDK.html#FAQ


cd /Users/guojun/JG-iOS/Product/LH_QJ/LH_QJ/ClassPatch/Tools/ThirdLib/BaiduAI/lib/AipBase.framework

lipo -info AipBase
Architectures in the fat file: AipBase are: i386 x86_64 armv7 arm64

lipo -remove x86_64 AipBase -o AipBase
lipo -remove i386 AipBase -o AipBase

cd /Users/guojun/JG-iOS/Product/LH_QJ/LH_QJ/ClassPatch/Tools/ThirdLib/BaiduAI/lib/AipOcrSdk.framework

lipo -info AipOcrSdk
Architectures in the fat file: AipOcrSdk are: i386 x86_64 armv7 arm64

lipo -remove x86_64 AipOcrSdk -o AipOcrSdk
lipo -remove i386 AipOcrSdk -o AipOcrSdk

 

Ipv6 测试
http://ipv6-test.com/stats/
dig +nocmd + nostats open.qujiamall.com AAAA

 


文件夹的显示和隐藏
显示:defaults write com.apple.finder AppleShowAllFiles -bool true
隐藏:defaults write com.apple.finder AppleShowAllFiles -bool false 


删除多余的证书
provisioning profile path:

~/Library/MobileDevice/Provisioning Profiles

手机固件下载:
https://www.jianshu.com/p/1a33e36c4b67
https://www.jianshu.com/p/db415129352b

手机固件替换路径
/Applications/Xcode.app/Contents/Developer/Platforms/iPhoneOS.platform/DeviceSupport


cocoasapp安装存在警告问题
终端进入:
cd ~/.cocoapods
然后ls查看目录下文件
然后cd repos && ls
如果存在master目录就执行rm -rf master
之后再pod setup即可

 

以上是关于Lipo移除ORC架构的主要内容,如果未能解决你的问题,请参考以下文章

Xcode 5.1:移除 x86_64 架构

架构 i386 的未定义符号 - Lipo 错误?

如何防止 MayBeGesture 状态下的手势超时移除?

SQLServer 复制中移除和添加发布而不初始化所有项目

在创建通用静态库时使用 lipo 与“有效架构”

错误 ITMS-90085:“二进制文件中没有架构。Lipo 未能检测到捆绑可执行文件中的任何架构。”