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即可
轉載于:https://www.cnblogs.com/GJ-ios/p/11579162.html