• 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
Re: Updating Info.plist
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Updating Info.plist


  • Subject: Re: Updating Info.plist
  • From: Bernard Desgraupes <email@hidden>
  • Date: Wed, 21 Mar 2007 06:43:42 +0100



David Dunham wrote:


On 20 Mar 2007, at 20:55, Andreas Wittenstein wrote:

My "Info.plist" source file isn't getting updated properly. The "Info.plist" source file includes a header file defining the product version number (currently 2.6.2.3), but the "Info.plist" file in the product is v2.5.0.8, from a couple of months ago. If I delete the "Info.plist" in the product and tell Xcode to build again, it magically reproduces it with the old version number from some cache. Only if I touch the source "Info.plist" file, or clean and rebuild the whole project, does Xcode update the version number. But having to remember to touch the file kind of obviates the point of including the version header to automate the build.

How do I convince Xcode that the "Info.plist" file depends on the version header file?



I think this is a known bug, but file it at bugreport.apple.com.

Xcode seems bad at rebuilding the target's info.plist; the only way I know is to close the project and reopen it.



Another approach is to use a .plc file and the PList Compiler script from a build phase so you're sure it is processed each time you build your project. See: http://sourceforge.net/projects/plistcompiler
and
http://perso.orange.fr/bdesgraupes/DocHTML/PListCompilerHelp.html


HTH

Bernard



_______________________________________________
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


References: 
 >Xcode loses the connection (From: "Glen Simmons" <email@hidden>)
 >Updating Info.plist (From: Andreas Wittenstein <email@hidden>)
 >Re: Updating Info.plist (From: David Dunham <email@hidden>)

  • Prev by Date: Re: Xcode loses the connection
  • Next by Date: Re: Updating Info.plist
  • Previous by thread: Re: Updating Info.plist
  • Next by thread: Re: Updating Info.plist
  • Index(es):
    • Date
    • Thread