• Open Menu Close Menu
  • Apple
  • Shopping Bag
  • Apple
  • Mac
  • iPad
  • iPhone
  • Watch
  • TV
  • Music
  • Support
  • Search apple.com
  • Shopping Bag

Lists

Open Menu Close Menu
  • Terms and Conditions
  • Lists hosted on this site
  • Email the Postmaster
  • Tips for posting to public mailing lists
Info.plist preprocessing with <integer> values
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Info.plist preprocessing with <integer> values


  • Subject: Info.plist preprocessing with <integer> values
  • From: "Isaac Wankerl" <email@hidden>
  • Date: Tue, 6 Mar 2007 15:55:35 -0600

I'm trying to have my Info.plist file preprocessed.  I want my final
output to be

   <key>Foo</key>    <integer>2</integer>

I have things set up so that my xcconfig file has

   FooValue = 2

And the Info.plist has

   <key>Foo</key>    <integer>${FooValue}</integer>

but this gives me a build error.

error: couldn't parse contents of
'...path.../Preprocessed-Info.plist': XML parser error:
	Unknown character '$' (0x24) in <integer> on line 28
Old-style plist parser error:
	Malformed data byte group at line 3; invalid hex


If I change the plist to

   <key>Foo</key>    <string>${FooValue}</string>

everything is fine, but I would rather use <integer>.  Is it possible
to do that?

Thanks,
Isaac
_______________________________________________
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


  • Follow-Ups:
    • Re: Info.plist preprocessing with <integer> values
      • From: "B.J. Buchalter" <email@hidden>
  • Prev by Date: Re: [patch] massive libtool speedup for large libs
  • Next by Date: Preprocessor corrupts plist files
  • Previous by thread: [ADMIN] Monthly Reminder: How to Ask for Help on xcode-users
  • Next by thread: Re: Info.plist preprocessing with <integer> values
  • Index(es):
    • Date
    • Thread