Right now, if I press Option-Command-c to commit the whole project, any image files are not committed… I even tried a folder trytry:
MyProj
|--Images
|--MyProj.xcodeproj
|--MyProj
|--trytry
so, images files inside MyProj/Images cannot be added or committed, and also image files in the trytry folder are the same too…
There was a question on StackOverflow about Xcode not able to commit image, that there was a bug:
XCode 4 with Git/Github, can't commit images
but I don’t see any bug (no error message), but just that there is no way to add or commit? Besides, the bug was 1 year old… should be fixed by now — after all, Xcode is just using Git, not implementing Git… so shouldn’t be any technical difficulties?
Ok, turns out that, it appears as a new folder and this folder has files in it (inside Xcode), but in fact, if you look at the File System (using Finder, for example), you will see no folder and possibly no files… the folder in Xcode is actually a Group, and the files may or may not be in the project folder… depending whether they are referenced or copied over when you choose “Add files”.
You can get more info here: Why in Xcode, Groups can be created, but not real folders?