Text search though all .xib files in Xcode?

后端 未结 10 490
遥遥无期
遥遥无期 2020-12-22 19:35

This seems like such a basic task, but I\'m stumped.

How, in Xcode, do you execute a textual search though (the XML contents of) all the .xib files in a project?

10条回答
  •  萌比男神i
    2020-12-22 20:06

    grep -i -r --include=*.xib "TextToFindHere" /PathToSearchHere

    response: no matches found: --include=*.xib

    cd /PathToSearchHere
    grep "TextToFindHere" ./ -r | grep ".xib"
    

    this work fine.

提交回复
热议问题