Xcode的路径小知识纪录

时间:2022-04-08 03:26:25

Xcode的路径小知识纪录

模拟器应用程序的安装路径

/Users/aplle/资源库/Application Support/iPhone Simulator/7.1/Applications

Xcode文档安装路径

/Applications/Xcode.app/Contents/Developer/Documentation/DocSets

Xcode模拟器安装路径

/Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs

Xcode自带头文件的路径

/Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator7.1.sdk/System/Library/Frameworks/UIKit.framework/Headers

修改了系统自带头文件后,Xcode会报错

解决方案:删掉下面文件夹的缓存即可(aplle是电脑的用户名)

/Users/aplle/资源库/Developer/Xcode/DerivedData

或者

/Users/aplle/Library/Developer/Xcode/DerivedData

Xcode插件的安装路径(可以在这里删除内容来卸载插件)

(aplle是用户名)

/Users/aplle/Library/Application Support/Developer/Shared/Xcode/Plug-ins