Re: What's with XCode not locating my '.pch' files?
Re: What's with XCode not locating my '.pch' files?
- Subject: Re: What's with XCode not locating my '.pch' files?
- From: j o a r <email@hidden>
- Date: Sun, 20 Jun 2004 10:39:10 +0200
Hm... I don't think that this is entirely true, as the default name for
the prefix header file (as it's generated by Xcode when you create a
new project) is "<project>_Prefix.pch". The generated file has the file
name suffix "gch".
Try to move the prefix header file to the root of the source file
folder, and modify the file reference accordingly - does it work?
Another thing to try might be to add a "Header Search Paths" build
setting, pointing to your "PrefixFiles" directory, if you haven't done
that already.
j o a r
On 2004-06-20, at 07.50, Chris Espinosa wrote:
> CodeWarrior users often use .pch as the extension for the header file
> to be precompiled, and include the resulting precompiled header with
> some other file name and extension.
>
> Xcode is slightly different, and in one very important way: .pch files
> are the product of precompilation, not the input.
>
> Your GCC_PREFIX_HEADER file should be a .h file, a real header file.
> Xcode will automatically generate and keep track of the resulting .pch
> file for you; you don't need to refer to it explicitly in your project
> anywhere.
>
> I understand that there's mental gear-grinding that happens when moving
> from CW's precompiled header paradigm to Xcode's. Once you get used to
> it it's fairly sensible, but it is a change.
[demime 0.98b removed an attachment of type application/pkcs7-signature which had a name of smime.p7s]
_______________________________________________
xcode-users mailing list | email@hidden
Help/Unsubscribe/Archives: http://www.lists.apple.com/mailman/listinfo/xcode-users
Do not post admin requests to the list. They will be ignored.