I was wondering if there is a way to remove the .pch file from an iPhone project and still have it build correctly?
I assumed it wouldnt be that hard, but after searching the net for a couple hours I havent found a solution.
Basically, as you probably know, when creating a new iPhone project, it will automatically generate the pre-compiled header file. I would like to remove that file altogether, but the problem is when I delete the file I get the errors:
Where "Chilias_Animal_House" is my project name. So Im thinking that there is some option deep within the project settings that I can modifiy to get it to stop looking for this file, but I cant seem to find it.
Does anyone know how to get around this?
Thanks.
I assumed it wouldnt be that hard, but after searching the net for a couple hours I havent found a solution.
Basically, as you probably know, when creating a new iPhone project, it will automatically generate the pre-compiled header file. I would like to remove that file altogether, but the problem is when I delete the file I get the errors:
Code:
Line Location Chilias_Animal_House_Prefix.pch:0: i686-apple-darwin9-gcc-4.2.1: warning: '-x objective-c-header' after last input file has no effect
Line Location Chilias_Animal_House_Prefix.pch:0: i686-apple-darwin9-gcc-4.2.1: no input files
Line Location Chilias_Animal_House_Prefix.pch:0: i686-apple-darwin9-gcc-4.2.1: /Users/iphonedevelopment/Desktop/cwd-Chilias.Animal.House/Chilias_Animal_House_Prefix.pch: No such file or directory
Line Location Chilias_Animal_House_Prefix.pch:0: Command /Developer/Platforms/iPhoneSimulator.platform/Developer/usr/bin/gcc-4.2 failed with exit code 1
Does anyone know how to get around this?
Thanks.