• 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: packagemaker command line exception
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: packagemaker command line exception


  • Subject: Re: packagemaker command line exception
  • From: Scott Amory <email@hidden>
  • Date: Fri, 11 Jul 2008 12:02:26 -0700

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.

Scott

On Jul 11, 2008, at 9:44 AM, Raphael Sebbe wrote:

Hi,

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)

Anyone with a similar experience / workaround ?

Thanks,

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


This email sent to email@hidden

_______________________________________________ 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: 
 >packagemaker command line exception (From: "Raphael Sebbe" <email@hidden>)

  • Prev by Date: Installer changes permissions on itself and its payload after 1st run
  • Next by Date: recipe for querying an info.plist file from postinstall?
  • Previous by thread: packagemaker command line exception
  • Next by thread: RE: modal window
  • Index(es):
    • Date
    • Thread