Why are my info.plist and .pch files red?

I created the spriteKit game and later changed the name of my project in Xcode. From now on, my .pch and .plist files are red. I will show you the image:

enter image description here

The application works fine and builds correctly. I'm not sure if this is bad, so I asked. Please tell me how to fix it.

+6
source share
1 answer

You can open File Inspector to check the absolute path of the file to make sure it is correct.

For team members collaborating with version controls such as git , also make sure that the plist path is not placed in the repository as an absolute path, including, for example, Mac user names.

0
source

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


All Articles