Giter VIP home page Giter VIP logo

mac's Introduction

Mac

###Xcode

Xcode手动清理

打开Finder使用快捷键command+shift+g输入路径进入相应文件夹

  1. 移除DerivedData,建议定期清理,会重新生成

此文件夹内是模拟器运行每个APP生成的缓存文件,删除之后只是再重新运行APP时会重新编译耗时较长,并再次生成缓存文件。 ~/Library/Developer/Xcode/DerivedData

  1. 移除Archives,可以清理

此文件夹中的内容是用Xcode打包时生成,可以根据是否有用选择性删除,删除之后Xcode->Organizer下的那些打包文件就全被清空了 ~/Library/Developer/Xcode/Archives

  1. 移除iOS DeviceSupport,建议清理,连接设备会重新生成

此文件夹中保存着对你设备的版本支持,每个版本文件夹都是几个G的大小,只需保留自己设备当前版本的文件夹即可,即使全部删除,再重新连接设备时Xcode会出现Processing symbol files并重新生成相应版本的文件 ~/Library/Developer/Xcode/iOS DeviceSupport

  1. 移除模拟器文件,可以清理,运行模拟器会重新生成

此文件夹目录下的文件夹全都是以模拟器的UDID命名的,可以查看.default_created.plist文件根据文件夹命名和plist文件中的内容判断各个文件夹是某版本下某设备类型的模拟器,.default_created.plist文件为隐藏文件,需要开启显示隐藏才能查看 ~/Library/Developer/CoreSimulator/Devices

mac's People

Contributors

angryapes avatar

Watchers

 avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.