Xcode Mark Log

Xcode左边栏的小字母的释义

这些标记跟你使用的代码托管工具或者xcode自带的svn代码托管工具有关

"M" = Locally modified    //修改
"U" = Updated in repository  //在仓库更新中
"A" = Locally added     //新增
"D" = Locally deleted    //删除
"I" = Ignored  //忽略
"R" = Replaced in the repository  //替代
"–" "=" The contents of the folder have mixed status; display the contents to see individual status 
"?" = Not under source control  //未受控
'C'  冲突
'!'  丢失,一般是将受控文件直接删除导致 
怎样消除:

1、代码中 某文件后面有 “M” 标记,表示该文件已被修改,需要 commit.
(右键该文件 -> source control -> commit selected file...)
2、代码中 某文件后面有 “A” 标记,表示该文件是新添加的,已受svn/git管理,需要 commit.
(右键该文件 -> source control -> commit selected file...)
3、代码中 某文件后面有 “?” 标记,表示该文件是新添加的,并且脱离了SVN的管理,首先需要add,然后 commit.
(右键该文件 -> source control -> Add,这样该文件的标记就变为 “A”,然后在 commit)
4、代码中 某文件后面有 “D” 标记,表示该文件在服务器(svn/git)上已被删除,这时update的话,可删除本地的文件。
5、代码中 某文件后面有 “C” 标记,表示该文件与服务器(svn/git)的文件冲突。

Delete Xcode Simulator

删除模拟器:下载了多个版本的模拟器,想要其中一个

1. Xcode > Window > Devices and Simulator > (如下图Devices and Simulator)然后找到你要删除的模拟器,右键进行删除,从这里删除后,系统会自动从`/Users/xiudan/Library/Developer/CoreSimulator/Devices/...(相应的Identifier)`进行删除

2. delete *.simruntime:
 `/Library/Developer/CoreSimulator/Profiles/Runtimes/...`

3. Delete the particular simulator images (*.dmg) in the folder:    
  `~/Library/Caches/com.apple.dt.Xcode/Downloads`
Devices and Simulator
最后编辑于
©著作权归作者所有,转载或内容合作请联系作者
平台声明:文章内容(如有图片或视频亦包括在内)由作者上传并发布,文章内容仅代表作者本人观点,简书系信息发布平台,仅提供信息存储服务。

推荐阅读更多精彩内容