Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

? icon after file names in Xcode

Tags:

xcode

iphone

In Xcode, sometimes there is a ?, an A, or an M in a box to the right of the name of a file. What are the meanings of these icons? Will they have some influence on how the project compiles and runs on the simulator or device?

like image 534
Blues Zhou Avatar asked Nov 08 '11 05:11

Blues Zhou


People also ask

How to set the iOS app icon in Xcode?

Method one is just used to set app icon in the iOS simulator, if you want to set the iOS app icon when the app is published to the Apple app store, you should follow the below steps. When you create an Xcode project use one template such as Single View App, there is an assets catalog file created in the project file list.

How do I add a file to a project in Xcode?

To show only files with a changed source-control status, click the Source Control icon. Xcode provides templates for the common types of files you might want to add to your project, such as Swift files or playgrounds. In the Project navigator, select the folder or group where you want to add a file and perform one of the following actions:

How do I rename a folder in Xcode?

Drag the new folder from the Finder to the old folder name under Location in the File inspector. If a group is associated with a folder, Xcode performs all rename, delete, move, and copy operations on the folder in the file system.

How do I view recent files in Xcode?

To show only recently modified files, click the Recent Files icon. To show only files with a changed source-control status, click the Source Control icon. Xcode provides templates for the common types of files you might want to add to your project, such as Swift files or playgrounds.


2 Answers

These are version control status labels. M means the file is modified, A means it has been added, and ? means your version control system doesn't know about it yet.

like image 197
Luke Avatar answered Sep 24 '22 17:09

Luke


I had the same doubt and after lots of searching I got the answer at this link under "Keep Track of Your Files’ SCM Status" section:

M = Locally modified

U = Updated in repository

A = Locally added

D = Locally deleted

I = Ignored

R = Replaced in the repository

– = The contents of the folder have mixed status; display the contents to see individual status

? = Not under source control

like image 34
Baby Groot Avatar answered Sep 26 '22 17:09

Baby Groot