Re: Error when trying to add Info.plist fo packagemaker project by command line
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