How can I see all the files that have been modified in Xcode 4.2 like in Xcode 3.2.6 there was a separate SCM view which shows all the files that have been changed in a single place. In Xcode 4.2 I can see the modified files scattered over my project pane. I want to specifically check in some files and want to see all the modified files at a single place.
Bottom left, click on the thing that looks like a little box, next to the clock.
In the bottom left hand corner there's an icon for "show items with source control status". It will filter the file list to files that have a status (modified, added).
Related
EDIT: I ended up creating a new project as suggested by justColbs and moving all of my classes plus the launchscreen.xib file and storyboard file into the new project directly in XCode and it works now! Yay for bugs, and I'm never going to try to rename a project again...
I renamed my project by selecting the .proj file, going to view, utilities, show file inspector. I changed the name in the upper right corner and then a window came up and I couldn't click the rename button, so I clicked don't rename and the play button greyed out.
All that shows up in my Devices list now is Mac OS.
I tried changing the name back, and it is now saying that I don't have a launch screen image for iPhone 4 retina displays, which wasn't an issue before this change.
How can I make it so I can build my project again?
I'm currently trying to create version 1.1 of a project I created in XCode 4, but after archiving the files do not appear in the Project Navigator. My initial thought was that I had to clone my repository (git) and thus create a new version in which I could see the
files, but the clone is also missing the files.
I can access the files from the top bar, but that's not really a desirable solution when
working with a big project. The case is the same for another project that I have archived
so I suspect it is supposed to be a feature of XCode 4.
What am I missing here?
(I'm just combining your "nevermind, I found it" comments into an answer, to maintain the SO style, so this question doesn't pop up as needing an answer.)
Check that you're not filtering file names (left column, bottom.)
Also make sure you haven't pressed one of the "show only files with..." toggle buttons (same location, near the search entry.)
Note that these buttons are toggles
Yes. I had to hit the X button with the icon that was blue at the bottom. This corrected my issue for XCODE Version 6.1. Thanks.
Seeing as the sv_SE localization doesn't take effect on the iPhone Simulator, but sv does (with the same language settings set to Swedish (language AND region), I would now like to remove the sv_SE localization to keep things proper.
What's the correct way to do this?
Do I really have to Remove All Localizations and re-do the translation work for the XIBs, as there seems no other way to do it in the Info window?
Mark localization in resources and delete? Delete folder/.lproj? Which is correct?
Xcode 3.2: expand localizable file subtree in left pane (files & groups). Then delete the unwanted localization. You probably want to click "Also move to trash" button.
Xcode 4: select the file, show utilities sidebar (the right one), pick the "show file inspector" button. There is a section with localizations. Select the unwanted one, click minus (-) button. Confirm. Or do it like in Xcode 3.2 deleting the localization from the project navigator. , it's up to you.
Xcode 5: works like Xcode 4.
If you remove all localizations (by mistake for instance) you can add the lproj folders to the project. You don't need to make one by one localizable again.
Tip: better you commit your work, experiment, if your changes doesn't work checkout the previous version and try again.
Any one know how to get xcode to list the project navigator files in alphabetical order?
Thanks
Per Apple, this is a known omission from Xcode and will probably be re-added in a future release. If you would like it to be re-added faster, please file a bug report. Until then, your best bet is to open the project in Xcode 3 and use the sort there, or do it manually.
Select the project in the Groups and Files pane.
In the list pane (upper right) click on File Name, which should sort them by file name.
And of course, you can filter this list in the search bar on the top right.
Since upgrading to xcode 4, I can't find where to specify what Target a resource belongs to. Previously, I selected the file and hit command+i, but this now seems to run the program, rather than bring up the info box for that file.
Select the project file in the document explorer. On the Right margin of the Xcode window make sure to display the right drawer view if it isn't already there (it usually has Object library and Quick Help). In the top margin, click on the icon that looks like a document (rather than the one with the waves that is quick help). The target membership and the other info from the old Get Info command is there.
Select the project file in the document explorer pane, select your target from the list, select the build phases tab and add/remove your resources in the copy bundle resources phase or source code in the compile sources phase.
Right click on a folder (eg. resource) on the document explorer (which is the left column with all your files and folders in your project), select Add Files to "Project Name". Below you will see check boxes that determine the file's association with each target.
#makdad - This also works for the 'blue folder' situation.
Note: if you already have a file in xcode, the only way you can add targets to a file that's in a 'blue folder' is to remove the file and follow the steps stated above.