What is the Xcode pbxstrings file for?

I have an Xcode project and you need to change the name of the product that it creates. I looked through the project files with a thin jagged comb and thought I had done my best. The last step was to grep all the files in the project folder for the old name to appear. It looks clean.

But after the build, grep finds a file containing several occurrences of the old name. It is located in a place like: MyProjectFolder / assembly / MyProject.build / MyProject.pbxindex / strings.pbxstrings / string

I can’t imagine where he gets the old name from. In addition, I have no idea what this file is used for. But I am worried that, apparently, I did not destroy the old name everywhere.

Can someone tell me what the pbxstrings / strings file is for and how it is created? If I understand that perhaps I can track the last remnants of the old name and clear them.

+3
source share
2 answers

That MyProject.pbxindex is only for CodeSense. :) Close Xcode and delete the MyProject.pbxindex directory (make a copy if you are skeptical), and then open Xcode again. He will restore it.

If you want to, you can do this from the command line:

xcodeindex -project / path / to / your / project clean build

I would just do the first one though.

+4
source

" CodeSense" " ", , , , .

, .

+1

Source: https://habr.com/ru/post/1705074/


All Articles