What is the 'standard' content of .gitignore for an iPhone (Xcode) project?

后端 未结 3 2015
無奈伤痛
無奈伤痛 2020-12-14 07:58

What is considered the \'standard\' content of .gitignore file for an iPhone (Xcode) project?

PS: not sure if this needs to be a CW.

3条回答
  •  青春惊慌失措
    2020-12-14 08:24

    From the GitHub gitignore project, as of today:

    # Xcode
    .DS_Store
    build/
    *.pbxuser
    !default.pbxuser
    *.mode1v3
    !default.mode1v3
    *.mode2v3
    !default.mode2v3
    *.perspectivev3
    !default.perspectivev3
    *.xcworkspace
    !default.xcworkspace
    xcuserdata
    profile
    *.moved-aside
    DerivedData
    .idea/
    

    Source: https://github.com/github/gitignore/blob/master/Objective-C.gitignore

提交回复
热议问题