What do the “M” and “A” icons in the Project Navigator of Xcode 4 mean when I create a new project?

后端 未结 11 1733
小鲜肉
小鲜肉 2020-12-05 07:28

Xcode 4 is showing me grey \"M\" and \"A\" icons next to my files in the project navigator. I believe they\'re related to source control.

The point is this: All my o

相关标签:
11条回答
  • 2020-12-05 07:33

    This is taken from Sam's Book. I am having trouble finding information in Xcode Documentation.

    0 讨论(0)
  • 2020-12-05 07:40

    And if you use subversion, this is of course related to it, so remove .svn directories

    0 讨论(0)
  • 2020-12-05 07:42

    Those characters refer to the source control.

    • ? - Unversioned
    • M - Modified
    • A - Added
    • A+ - Moved / renamed
    • U - Newer version of a file on source control
    • I - Item is being ignored (e.g. with the svn:ignore property).
    • ! - Item is missing (e.g. you moved or deleted it without using svn). This also indicates that a directory is incomplete (a checkout or update was interrupted).

    Ref: http://svnbook.red-bean.com/en/1.2/svn.ref.svn.c.status.html

    0 讨论(0)
  • 2020-12-05 07:46

    The icons are always there in XCode 4.5, version control or not

    0 讨论(0)
  • 2020-12-05 07:48

    The "M" is for "modified" and the "A" is for added. These values reflect the version control state of the files

    0 讨论(0)
  • 2020-12-05 07:48

    Those icons stand for Added / Modified files under source control, like other devs pointed out.

    If you're experiencing that these icons appear even if you did not check the "Git" checkbox when creating a new project, and if you're sure your project is not really under source control, then just do this:

    Restart Xcode, and the issue is gone for your project. The icons disappear and everything is fine :-)

    It's a weird Xcode Bug.

    0 讨论(0)
提交回复
热议问题