tags:

views:

37

answers:

1

I'm pulling my hair out on this and Google results are skewed since it thinks I want to find out how to code something.

My problem is that when trying to search my code with the String Matching box it finds nothing, even if I enter something that is on the screen below.

Is it Spotlight that is delivering these results? I'm not excluding anything in my Spotlight index so should I just rebuild the index?

Thanks for any help you can offer.

A: 

Sometimes this happens to me when the "In Selected Items" is selected in the combobox on the right side of the search string. If this selected, you only get a search in whatever files are selected in your project window. Change it to "In Project" to search all your source files. Note that the files need to be inside of your current xcode project (just opening them from the finder won't add them.) You may also be interested in the "In Open Files" option, which is faster for large projects.

fsmc