您的当前位置:首页正文

macOS常用命令和文件路径

来源:东饰资讯网
按键 对应符号
Command
Option
Caps Lock
Shift
Control

1.常用命令

  1. 允许安装任何来源app:sudo spctl --master-disable
  2. 显示隐藏文件: + + .

2.常用文件路径

  1. Provisioning Profiles~/Library/MobileDevice/Provisioning Profiles
  2. CodeSnippets~/Library/Developer/Xcode/UserData/CodeSnippets
  3. 修改Xcode一些设置/Applications/Xcode.app/Contents/Developer/Library/Xcode/Templates/Project Templates/Mac/Application/Command Line Tool.xctemplate/
  4. 修改文件头部描述信息/Applications/Xcode.app/Contents/Developer/Library/Xcode/Templates/File Templates/Source/Cocoa Class.xctemplate
  5. Xcode文档安装位置/Applications/Xcode.app/Contents/Developer/Documentation/DocSets
    • 注意: 拷贝之前最好将默认的文档删除, 因为如果同时存在高版本和低版本的文档, 那么低版本的不会显示
    • /Users/你的用户名/Library/Developer/Shared/Documentation/DocSets这里也是可以安装的,但是个人不喜欢安装在这里
  6. 模拟器安装位置/Library/Developer/CoreSimulator/Profiles/Runtimes/
显示全文