標簽(空格分隔): iOS
iOS 項目gitignore文件中包含文件類型解釋
gitignore中的內(nèi)容
# Xcode
.DS_Store
*/build/*
*.pbxuser
!default.pbxuser
*.mode1v3
!default.mode1v3
*.mode2v3
!default.mode2v3
*.perspectivev3
!default.perspectivev3
xcuserdata
profile
*.moved-aside
DerivedData
.idea/
*.hmap
*.xccheckout
*.xcworkspace
!default.xcworkspace
#CocoaPods
Pods
!Podfile
!Podfile.lock
.DS_Store DS_Store 是用來存儲這個文件夾的顯示屬性的:比如文件圖標的擺放位置刀诬。刪除以后的副作用就是這些信息的失去 (當然涨冀,這點副作用其實不是太大)https://www.zhihu.com/question/20345704
/build/ 我的理解是琅摩,項目編譯過程中產(chǎn)生的文件和數(shù)據(jù)
*.pbxuser
http://lists.apple.com/archives/xcode-users/2004/Jan/msg00193.html
It stores the user's preferences for the project, e.g. window sizes, active build style, file bookmarks, and a few other things.
儲存了用戶項目偏好設(shè)置,窗口大小血巍,文件書簽等!default.pbxuser 保留默認的Xcode IDE配置文件
*.mode2v3 Xcode IDE配置文件 :window states and geometry, breakpoints, custom executables, etc 保存了窗口狀態(tài)株婴,字體溺欧,斷電,自定義執(zhí)行等
http://lists.apple.com/archives/xcode-users/2007/Oct/msg00465.html
關(guān)于app斷點不停的問題!default.mode2v3 保留默認的mode2v3文件
*.perspectivev3 ``` This is the file where XCode saves the preferences of your "perspective". Where you windows are, if your console is open, where it is on the screen. Which groups are open in the side bar etc. Basically everything you need that xcode looks the same when you open it next time. There is another file name username.pbxuser. Xcode stores for example the code bookmarks in it. You don't need them to compile the project. And you should not put them into version control either. ``` [Xcode projects — what is a “perspectivev3 file”](http://stackoverflow.com/questions/5223297/xcode-projects-what-is-a-perspectivev3-file)
8.!default.perspectivev3 保留默認的perspectivev3文件
9.xcuserdata
project.xcworkspace說明:is a directory of files describing the workspace or projects. Although some of the answers here indicate it is unnecessary and should be ignored for source control, I don't agree, but it's going to be highly dependent upon how you use your environment. Generally, the contents of the project.xcworkspace directory contains the contents.xcworkspace data file, which lists the projects that are included as top-level entities in your project茴丰。
xcuserdata說明:You can safely delete the xcuserdata directories. It basically contains personal settings like breakpoints, user interface layout, open files, automatic snapshots configuration and so on达皿。
[iOS xcuserdata](http://www.cnblogs.com/wfwenchao/p/4624025.html)
10.*.moved-aside 鬼知道這是什么東西
11.DerivedData Xcode緩存數(shù)據(jù)
12.idea/ 存放項目的配置信息,包括歷史記錄贿肩,版本控制信息等
13 *.hmap 鬼知道是什么