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?
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.
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:
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.
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.
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.
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
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With