• 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: Error when trying to add Info.plist fo packagemaker project by command line
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Error when trying to add Info.plist fo packagemaker project by command line


  • Subject: Re: Error when trying to add Info.plist fo packagemaker project by command line
  • From: Fritz Anderson <email@hidden>
  • Date: Fri, 17 Oct 2008 14:04:37 -0500

On Oct 17, 2008, at 1:27 PM, OSullivan, Steve wrote:

The Info.plist file is (actually, now):

<key>IFPkgFlagRestartAction</key>
<string>RequiredRestart</string>

When my build scripts run, I get the following error, and it only has
started since I added the Info.plist file to the mix:

ERROR: The specified info file is invalid: /build_base/info_plist/
...
Is my syntax wrong in my Info.plist file? Any and all thoughts are
appreciated!

Is this your _whole_ Info.plist? In that case, the syntax is almost entirely missing. A property list (plist) file implements a very specific document type definition. It's too big a subject for an email. In the Xcode documentation, look for the document "Property List Programming Guide for Cocoa;" or there's a chapter about them in my book, referenced in my signature.


You can check the syntax of a plist file from the command line by applying the plutil command to it:

	plutil /path/to.plist

Additionally, installer package Info.plists have particular requirements, which it isn't easy to fulfill by hand. It's already been suggested that you use PackageMaker or Iceberg to generate (one time only) a package, pull the Info.plist from it, and hand-edit it for future use. You can then point the packagemaker command-line tool at that Info.plist. Hand-editing may not even be necessary, if the options you set in the generating application will suit you.

	— F

--
Fritz Anderson
Xcode 3 Unleashed, now in its second printing
<http://x3u.manoverboard.org/>

_______________________________________________
Do not post admin requests to the list. They will be ignored.
Installer-dev mailing list      (email@hidden)
Help/Unsubscribe/Update your Subscription:
This email sent to email@hidden


References: 
 >Error when trying to add Info.plist fo packagemaker project by command line (From: "OSullivan, Steve" <email@hidden>)

  • Prev by Date: Re: Error when trying to add Info.plist fo packagemaker project by command line
  • Next by Date: change install location
  • Previous by thread: Error when trying to add Info.plist fo packagemaker project by command line
  • Next by thread: change install location
  • Index(es):
    • Date
    • Thread