摘要: 今天升级xcode9.0,莫名其妙的 xcodebuild -exportArchive -archivePath命令失效,导出ipa安装包报错,经过和同事的自己查找,发现苹果的XcodeBuild命令发生了变化,需修改 -exportOptionsPlist 导出的plist文件,操蛋的苹果必须要 阅读全文
posted @ 2017-09-22 09:19 追求无止尽 阅读(1615) 评论(0) 推荐(1) 编辑
摘要: 一:最近上传ipa包到iTunes connect上不显示构建版本,如果使用Application Loader会出现如下错误: 二:解决方法 1.以下权限用到哪些都需要在info.plist添加 <!-- 相册 --> <key>NSPhotoLibraryUsageDescription</ke 阅读全文
posted @ 2016-09-27 16:16 追求无止尽 阅读(3555) 评论(0) 推荐(0) 编辑
摘要: 终端查看所有代码行数 find . -name "*.m" -or -name "*.h" -or -name ".framework" -or -name "*.xib" -or -name "*.c" |xargs grep -v "^$"|wc -l 阅读全文
posted @ 2016-08-16 13:40 追求无止尽 阅读(8752) 评论(0) 推荐(0) 编辑
摘要: Gerrit review和发版管理一:Gerrit提交审核代码流程1.代码作者设置本地工作环境2.从公开代码库同步代码到本地3.代码开发者开发代码,提交代码4.代码作者将代码提交到Gerrit缓存仓库,进入审核流程5.代码作者指定相应的审核者来审核代码6.审核者通过Gerrit查看代码修改,以确定... 阅读全文
posted @ 2015-08-31 09:33 追求无止尽 阅读(1906) 评论(0) 推荐(0) 编辑
摘要: ! [remote rejected] HEAD -> refs/for/ToonV3.0 (missing Change-Id in commit message footer)使用 git commit --amend 阅读全文
posted @ 2015-08-15 15:09 追求无止尽 阅读(1263) 评论(0) 推荐(0) 编辑
摘要: Git 分支管理和冲突解决创建分支 git branch 没有参数,显示本地版本库中所有的本地分支名称。 当前检出分支的前面会有星号。 git branch newname 在当前检出分支上新建分支,名叫newname。 git checkout newname 检出分支,即切换到名叫... 阅读全文
posted @ 2015-08-15 14:06 追求无止尽 阅读(294) 评论(0) 推荐(0) 编辑
摘要: 一:Submitted, Merge Pending解决办法产生原因:例如: 原因1> (1)我提交了一个新的项目到Gerrit中,叫做commit1,这个commit1我没有submit到分支上 (2)这时我又在原来的编译器中提交了一个commit2 (3)此时我把comm... 阅读全文
posted @ 2015-08-14 23:26 追求无止尽 阅读(13211) 评论(0) 推荐(0) 编辑
摘要: 一:reset 加--和不加的区别git reset origin/branch 撤销commit,保留代码git reset --hard 撤销这次commit,--表示撤销提交记录和代码git reset --hard origin/branch撤销commit和代码git revert HE... 阅读全文
posted @ 2015-08-13 11:24 追求无止尽 阅读(181) 评论(0) 推荐(0) 编辑
摘要: 自动安装:当然,如果你信任这个开源项目作者的话你可以尝试使用自动安装的方法。wget https://github.com/robbyrussell/oh-my-zsh/raw/master/tools/install.sh -O - | sh手动安装:1. 克隆这个项目到本地(前提是你得有装git... 阅读全文
posted @ 2015-08-09 01:44 追求无止尽 阅读(660) 评论(0) 推荐(0) 编辑
摘要: git在pull时,出现这种错误的时候,可能很多人进进行stash,相关stash的请看:Error pulling origin: error: Your local changes to the following files would be overwritten by merge但是发现s... 阅读全文
posted @ 2014-11-28 10:39 追求无止尽 阅读(308) 评论(0) 推荐(0) 编辑