syvex
syvex

Reputation: 7756

How to set a specific precompiled header file in Xcode?

Is there a way to set a non-default precompiled header file in Xcode? For example, instead of Project_Prefix.pch being the precompiled header, could I set it to SomeOtherHeader.h?

Upvotes: 4

Views: 6817

Answers (2)

jeppeb
jeppeb

Reputation: 528

In XCode 6.1 it's under Build Settings > Apple LLVM 6.0 - Language

Upvotes: 5

Giuseppe Mosca
Giuseppe Mosca

Reputation: 1333

Select the target, select Build Settings, search for Prefix Header and change the setting

Upvotes: 18

Related Questions