Re: Version.plist preprocessing
Re: Version.plist preprocessing
- Subject: Re: Version.plist preprocessing
- From: Walter <email@hidden>
- Date: Sat, 10 Feb 2007 07:07:00 -0500
- Thread-topic: Version.plist preprocessing
On 2/9/07 9:30 PM, "Michael Wolfinbarger" <email@hidden> wrote:
>
> On Feb 9, 2007, at 7:18 PM, Walter wrote:
>
>> I have a version.plist file that I'd like to be preprocessed in the
>> same
>> manner as info.plist.
>>
>> Is there an easy way to do this?
>>
>> Walter
>
> I'm invoking the preprocessor via a "Run Script" build phase for my
> installer package's plists. The script looks something like this:
>
> /usr/bin/gcc -E -P -x c -include ${TARGET_BUILD_DIR}/MyVersion.h $
> {TARGET_BUILD_DIR}/MyDescription.plist -o ${TEMP_FILES_DIR}/
> Description.plist
>
> There may be a better way to do it, but that's been working okay for
> my purposes.
>
> Michael Wolfinbarger
> Oklahoma Climatological Survey
>
>
That's what I'm doing as well. I thought there might be an easier way since
its already automatic for info.plist
Walter
_______________________________________________
Do not post admin requests to the list. They will be ignored.
Xcode-users mailing list (email@hidden)
Help/Unsubscribe/Update your Subscription:
This email sent to email@hidden