User Tools

Site Tools


Sidebar

Go Back

Refresh

You are not allowed to add pages

Direct Link

library:ios:clearrecent

Obsoleted - Xcode Misc

1. Xcode清除最近打开的工程

如果直接点击屏幕下方的Xcode图标,回弹出一个xcode的启动框,右边会列出你最近打开过的工程

如果想清除这些记录,就点击xcode的菜单栏,[File] → [Open Recent] → [Clear Menu],再次启动xcode就看不到先前打开过的工程了

2. 删除不必要的虚拟机

三个占用空间最大的文件分别是:
1.iOS.simruntime 9.76 GB
2.tvOS.simruntime 5.39 GB
3.watchOS.simruntime 6.83 GB

iOS.simruntime日常使用删不得,tvOS.simruntime, watchOS.simruntime ,大部分开发者接触不到,可直接删除

/Applications/Xcode.app/Contents/Developer/Platforms/WatchOS.platform/Library/Developer/CoreSimulator/Profiles/Runtimes/watchOS.simruntime
/Applications/Xcode.app/Contents/Developer/Platforms/AppleTVOS.platform/Library/Developer/CoreSimulator/Profiles/Runtimes/tvOS.simruntime
library/ios/clearrecent.txt · Last modified: 2022/08/23 10:09 by lhaosen