tags:

views:

164

answers:

1

Hey guys I dont know what happened to Xcode.. I was debuggin my app when after a while of writing some code I tried to compile and an error message appeared...

Building error precompiling app_prefix.pch

arm-apple-darwin9-gcc-4.2.1: te: no such file or directory

I've never had this error before and I am no t pretty sure of how to solve it...

Please give me a hand. Thanks Carlos Vargas

A: 

Did you move your [Project Name]_prefix.pch file ? If you moved it to say, a subdirectory of the project's parent, you need to open up the target Build settings for each of your targets by double clicking on them, do a search for "pch" in the build settings, and update the path to the .pch file.

For example, if you moved your .pch file to a subdirectory "Core" which is in the project parent, then you'd change "[Project Name]_prefix.pch" in the build settings to "Core/[Project Name]_prefix.pch".

Paul Shapiro