Mailing Lists: Apple Mailing Lists

Image of Mac OS face in stamp
 
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: XCode 2.1 Preprocessing Info.plist



This sample code shows an example of how to use the Info.plist preprocessing in Xcode 2.1:

https://developer.apple.com/samplecode/XcodeClientServer/ XcodeClientServer.dmg

Scott

On Jun 7, 2005, at 11:31 AM, Tim Conkling wrote:

If you choose to preprocess the Info.plist, it is just run through the gcc preprocessor (as I understand), so you should be able to use the same preprocessor macros that you would in a source file. To enable preprocessing, you have to enable the INFOLIST_PREPROCESS build setting ("Preprocess Info.plist File" in the Build Configuration editors). There are some related build settings ("Info.plist Preprocessor Prefix File," "Info.plist Preprocessor Definitions," "Info.plist Other Preprocessor Flags") that may also be useful to you. If you filter the build configuration settings by "info.plist" or something similar, you'll find what you need.

On Jun 7, 2005, at 8:51 AM, Olivier Tristan wrote:


Hi,

According to the xcode upades, you can now preprocess Info.plist files wich is great.
But I've seen no example at all in the xcode 2.1 user guide...


Could someone tell me the syntax to use it.

I would really appreciate to change the number version according to a #define from a .h file.

_______________________________________________
Do not post admin requests to the list. They will be ignored.
Xcode-users mailing list      (email@hidden)
Help/Unsubscribe/Update your Subscription:
http://lists.apple.com/mailman/options/xcode-users/email@hidden

This email sent to email@hidden


_______________________________________________ Do not post admin requests to the list. They will be ignored. Xcode-users mailing list (email@hidden) Help/Unsubscribe/Update your Subscription: http://lists.apple.com/mailman/options/xcode-users/email@hidden

This email sent to email@hidden
References: 
 >XCode 2.1 Preprocessing Info.plist (From: Olivier Tristan <email@hidden>)
 >Re: XCode 2.1 Preprocessing Info.plist (From: Tim Conkling <email@hidden>)



Visit the Apple Store online or at retail locations.
1-800-MY-APPLE

Contact Apple | Terms of Use | Privacy Policy

Copyright © 2007 Apple Inc. All rights reserved.