笔记
PeterStudio
这个作者很懒,什么都没留下…
展开
-
.git 瘦身
查看大文件索引git rev-list --objects --all | grep "$(git verify-pack -v .git/objects/pack/*.idx | sort -k 3 -n | tail -5 | awk '{print$1}')"查找结果68a5c4fc06b110b27a9d574cc5b17350e21dafc6 Example/Tools/sogou_mac_604b.zip529bb5d09b1858ef2d0ac35403c98f62bb226原创 2022-04-14 15:25:50 · 226 阅读 · 1 评论 -
Mac升级macOS Big Sur后 homebrew失效
✘ $ ~ brew listTraceback (most recent call last): 11: from /usr/local/Homebrew/Library/Homebrew/brew.rb:23:in `<main>' 10: from /usr/local/Homebrew/Library/Homebrew/brew.rb:23:in `require_relative' 9: from /usr/local/Homebrew/Library/Homebr.原创 2020-12-09 15:00:33 · 17265 阅读 · 2 评论 -
cocoapods获取图片地址失败
UIImage *image = [UIImage imageNamed:@"Hello"]; // 赋值到Xcode工程中,肉眼不可见空格通过上述代码获取图片信息,但是死活获取不到。尝试了网上的方法使用Bundle,依然无果+ (nullable UIImage *)imageNamed:(NSString *)name inBundle:(nullable NSBundle *)bundle withConfiguration:(nullable UIImageConfiguration.原创 2020-12-03 14:46:28 · 1300 阅读 · 7 评论 -
Crash文件手动符号化
1、分析文件1、.app文件2、.dSYM文件3、symbolicatecrash工具4、.crash文件2、配置环境变量export DEVELOPER_DIR=/Applications/Xcode.app/Contents/Developer3、符号化./symbolicatecrash XX.crash XXX.app.dSYM > XX_symbol.crash4、symbolicatecrash工具/Applications/Xcode.app/Co原创 2020-11-20 11:14:17 · 173 阅读 · 0 评论 -
[__NSArrayM objectAtIndex:]
2020-11-18 17:10:01.098273+0800 XXX应用名称[22083:2026022] *** Terminating app due to uncaught exception 'NSRangeException', reason: '*** -[__NSArrayM objectAtIndex:]: index 0 beyond bounds for empty array'*** First throw call stack:( 0 CoreFoundation .原创 2020-11-20 09:55:46 · 567 阅读 · 0 评论 -
CTRadioAccessTechnologyNRNSA & CTRadioAccessTechnologyNR
/* * Radio Access Technology values */CORETELEPHONY_EXTERN NSString * const CTRadioAccessTechnologyGPRS API_AVAILABLE(ios(7.0)) API_UNAVAILABLE(macos);CORETELEPHONY_EXTERN NSString * const CTRadioAccessTechnologyEdge API_AVAILABLE(io.原创 2020-11-20 10:57:49 · 2291 阅读 · 2 评论 -
iOS自动打包脚本优化
随着业务的发展,原本轻量级的APP已经变成了超级APP,业务分支较多,逻辑较复杂,大量的开发人员加入到这个超级APP的开发过程中来,这时候需要划分业务模块、分配开发任务,落地到每个程序员的手头上。原创 2020-04-10 16:26:37 · 246 阅读 · 0 评论