Important: The information in this document is obsolete and should not be used for new development.
After you add a file to your local copy of a managed Xcode project, its status is ? (unknown). This means that the file is not part of the repository. If you want to add the file to the repository the next time you commit your changes, select the file in the project window or the SCM Results window and choose SCM > Add to Repository. The status of the file changes from ? to A. Figure 22-4 shows files in the SCM group to be added to the repository in the next commit.
When you commit file additions, you must commit the project
file (project.pbxproj)
as well, at the same time. This lets other developers know there’s
a new file in the project as soon as you commit the addition. If
you don’t commit the project file when you commit the file removal
(that is, you select a file with a status of A, choose SCM >
Commit Changes, and commit it without also selecting the project
file), other developers will not be able to get the added file into
their local copies of the project because Xcode wouldn’t know
that a file was added to the project.
Last updated: 2006-11-07