Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

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

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 old Xcode 3 projects opened and edited in Xcode 4 don't show these icons! My new project which I created in Xcode 4 isn't under source control either.

When I created the project I unchecked the "Git" option. But Xcode still shows me a "Source Control" info in the inspector when clicking on a file. All files initially created by the project template are marked as "committed" where as all files I add myself are not. So either Xcode ignored my wish not to use Git or it's a bug, or both.

Update: Some recommend deleting the .git folder. Since it starts with a dot it's probably a hidden folder, and therefore I made hidden files visible in Finder using this trick in Terminal:

defaults write com.apple.finder AppleShowAllFiles TRUE killall Finder 

However, it appears that there is NO .Git folder in my project folder (checked all containing folders). But still, Xcode is putting my new projects under source control even though the Git checkbox is disabled.

How can I get rid of it if I don't want to use source control yet?

like image 888
Proud Member Avatar asked Jan 14 '12 16:01

Proud Member


People also ask

What is M symbol in Xcode?

Tags such as "M" or "A" next to files in Xcode indicates that your project in under SVN/GIT repository. "M" indicates content of file Modified whereas "A" for file Added.

What does M mean in Swift?

M stands for method, which is notation convention of Apple. Here You are trying to use the method of delegate. You will find C for Class and P for Variables and Constants. Follow this answer to receive notifications.

What is project Navigator in Xcode?

The Project navigator displays your project's files and lets you open, add, delete, and rearrange those files. To open the Project navigator, at the top of your project window's navigator area, click the icon that resembles a file folder.

What does a red folder mean in Xcode?

It means they are not found on disk where your project believes they should be. Control-click and Show In Finder to see the folder location to locate the file and drag it back in to the project, and delete the bad reference.


1 Answers

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

like image 58
Moin Shirazi Avatar answered Sep 22 '22 07:09

Moin Shirazi