xcodeproj under version control

前端 未结 3 1408
梦毁少年i
梦毁少年i 2020-12-04 12:26

What are the best practices while including a Xcode project under version control.

3条回答
  •  萌比男神i
    2020-12-04 13:05

    In my project I have Project.xcodeproj/project.pbxproj in version control and leave out the User.mode1v3 and User.pbxuser files.

    project.pbxproj seems to hold the metadata for the project, such as where the files are located and what the build settings are.

    The user files would have things like what files are opened, where the cursor is, etc.

    You can also refer to THIS question for what files some people have chosen to ignore.

提交回复
热议问题