Re: Crash using CLI packagemaker
Re: Crash using CLI packagemaker
- Subject: Re: Crash using CLI packagemaker
- From: Rick Mann <email@hidden>
- Date: Fri, 27 Mar 2009 14:03:55 -0700
On Mar 27, 2009, at 06:05:10, Paul Walmsley wrote:
Rick Mann wrote:
I have a .pmdoc that seems to build fine from the PackageMaker
application. But when I try to invoke it like this, it crashes. Any
ideas?
TIA!
$ /Developer/usr/bin/packagemaker --doc "/Users/rmann/MyCompany/
depot/main-digital-music/desktop/osx/install/MyProduct.pmdoc" --out
"/Users/rmann/MyCompany/depot/main-digital-music/desktop/../osx/
build/Debug/MyProduct.pkg" --verbose
2009-03-26 17:22:15.107 packagemaker[10166:10b] Setting to : 0 (null)
2009-03-26 17:22:15.110 packagemaker[10166:10b] Setting to : 0
com.MyCompany.MyProduct.pkg
2009-03-26 17:22:15.115 packagemaker[10166:10b] relocate: (null) 0
2009-03-26 17:22:15.115 packagemaker[10166:10b] *** Terminating app
due to uncaught exception 'NSInvalidArgumentException', reason:
'*** -[NSXMLDocument initWithXMLString:options:error:]: nil argument'
2009-03-26 17:22:15.116 packagemaker[10166:10b] Stack: (
2508443915,
2515738171,
2508443371,
2508443434,
2428848564,
453371,
447720,
436209,
435510,
9986,
9918
)
Trace/BPT trap
I've found building packages from the command line to be incredibly
crash-prone. PackageMaker will not warn you if the parameters are
incorrect or missing. Try explicitly setting the package ID with '-
i com.mycompany.myproduct'
That implies, to me, that it would only build a sub-part of my
installer. Will this build the distribution package?
--
Rick
_______________________________________________
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