Re: packagemaker command line exception
site_archiver@lists.apple.com Delivered-To: installer-dev@lists.apple.com Scott On Jul 11, 2008, at 9:44 AM, Raphael Sebbe wrote: Hi, Anyone with a similar experience / workaround ? Thanks, _______________________________________________ Do not post admin requests to the list. They will be ignored. Installer-dev mailing list (Installer-dev@lists.apple.com) Help/Unsubscribe/Update your Subscription: http://lists.apple.com/mailman/options/installer-dev/site_archiver%40lists.a... Hi Raphael. Unfortunately PM has some bugs in the command line version of it but there are some workarounds. In your case you might be able to work around your issue by passing the '-i' option on the command line. All you need to do is add '-i my.identifier' where in place of my.identifier you use the id of your package. That should hopefully take care of any issues you might be having. I am trying to build a package that was made with Package Maker 3.0.2 GUI, on the command line: /Developer/Applications/Utilities/PackageMaker.app/Contents/MacOS/ PackageMaker --doc myapp.pmdoc -o myapp.pkg and I get this output: 2008-07-11 18:39:31.003 PackageMaker[1524:10b] Setting to : 0 (null) 2008-07-11 18:39:31.006 PackageMaker[1524:10b] Setting to : 0 com.creaceed.hydraForAperture.hydraplugin.pkg 2008-07-11 18:39:31.006 PackageMaker[1524:10b] Setting to : 0 com.creaceed.hydraForAperture.hydraplugin.pkg 2008-07-11 18:39:31.009 PackageMaker[1524:10b] relocate: (null) 0 2008-07-11 18:39:31.009 PackageMaker[1524:10b] *** Terminating app due to uncaught exception 'NSInvalidArgumentException', reason: '*** -[NSXMLDocument initWithXMLString:options:error:]: nil argument' 2008-07-11 18:39:31.010 PackageMaker[1524:10b] Stack: ( 2422423883, 2448802043, 2422423339, 2422423402, 2423185620, 453375, 447724, 436213, 435514, 9990, 9922 ) Trace/BPT trap with apparently an exception in [NSXMLDocument initWithXMLString:options:error:] (nil arg) Raphael _______________________________________________ Do not post admin requests to the list. They will be ignored. Installer-dev mailing list (Installer-dev@lists.apple.com) Help/Unsubscribe/Update your Subscription: http://lists.apple.com/mailman/options/installer-dev/samory %40apple.com This email sent to samory@apple.com This email sent to site_archiver@lists.apple.com
participants (1)
-
Scott Amory