Hi Fritz, et. al.,

Thanks for this note. I had already looked for the "Preprocessor Macros..." in the iPhone app target build properties. It *doesn't* exist.

I've filed rdar://6865368 against this issue. I've discovered it's pretty much in all the iPhone SDKs that I've used.

I've worked around this with a hack: use per-target precompiled headers. Set the GCC_PREFIX_HEADER property to use your AppTarget_Lite_Prefix.pch and for a Pro target set it to AppTarget_Pro_Prefix.pch.

It works but the downsides are obvious.

Thanks again...

Live Playfully,

Sam
-----
If he listens in faith,
finding no fault, a man is free
and will attain the cherished words
of those who act in virtue.

On May 6, 2009, at 10:36 AM, Fritz Anderson wrote:

You can set the preprocessor macros in the build settings of the several targets. See "Preprocessor Macros Not Used In Precompiled Headers." (Grammar nit: Title-case does _not_ mean capitalizing every word. "Not" and "In" should be all-lower.)

_______________________________________________

Cocoa-dev mailing list ([email protected])

Please do not post admin requests or moderator comments to the list.
Contact the moderators at cocoa-dev-admins(at)lists.apple.com

Help/Unsubscribe/Update your Subscription:
http://lists.apple.com/mailman/options/cocoa-dev/archive%40mail-archive.com

This email sent to [email protected]

Reply via email to