Question

I have deleted my .pch file by mistake, and now my project cannot be built anymore.

What should I do?

Was it helpful?

Solution

I take it you don't have version control?

You could just use the contents of a pch file from a different project or create a new one. If you search in your build settings for "pch" you'll see what the name of this pch file is expected to be and where it should be in your project

Licensed under: CC-BY-SA with attribution
Not affiliated with StackOverflow
scroll top