Xcode6的路径变化

来源:互联网 发布:儿童手表下载软件 编辑:程序博客网 时间:2024/05/17 04:29

我使用的是Xcode6.1正式版(10月17号)


1、iOS8 离线文档路径:

~/Library/Developer/Shared/Documentation/DocSets/

从这里可以备份 com.apple.adc.documentation.AppleiOS8.0.iOSLibrary.docset 离线文档,以后更新Xcode不必重复下载此文档


2、App Archive 路径(就是准备打包上传 App Store 时最后的Archive文件所在的目录):

~/Library/Developer/Xcode/Archives/


3、模拟器里面app的路径

~/Library/Developer/CoreSimulator/Devices/{Device_ID}/data/Containers/Bundle/Application/{Application_ID}/

关于Device_ID可以通过Xcode查看,Window > Devices 或者 command+shift+2,如图


4、模拟器里面app的沙盒路径(此路径和app执行文件所在的路径是不一样的):

~/Library/Developer/CoreSimulator/Devices/{Device_ID}/data/Containers/Data/Application/{Application_ID}/


5、模拟器SDK路径

/Applications/Xcode6.1.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/


6、NSUserDefault 路径

Xcode6之前的路径:~/Library/Application Support/iPhone Simulator/7.0.3/Applications/{Application_ID}/Library/

现在的路径:~/Library/Developer/CoreSimulator/Devices/{Device_ID}/data/Library/Preferences

0 0
原创粉丝点击