1.xcode 在模拟器运行工程报错:"Remote object proxy returned error: Error Domain=NSCocoaErrorDomain Code=4099 "
解决办法:打开终端运行 xcrun simctl spawn booted log config --mode "level:off" --subsystem com.apple.CoreTelephony
2.Git上传大文件
Git项目配置SSH:
A.检查用户目录下有没有id_rsa和id_rsa文件,有的话复制公钥去git设置里面配置;没有的话,一次执行
cd ./ssh
ssh-keygen
命令去生成新的rsa文件
B.如果之前clone项目通过的是https的话,用命令git remote set-url origin ssh://git@code.ops.colourlife.com:10022/zhoujunchen/colourlife_app.git 来设置项目ssh路径
ssh://git@code.ops.colourlife.com是你的服务器域名,例如你用开源中国的码云的话,这个地方就是git@git.oschina.net
colourlife_app.git是git仓库名。
然后执行git push大文件上传就很轻松了,比https快还
网友评论