• 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: Crash using CLI packagemaker
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Crash using CLI packagemaker


  • Subject: Re: Crash using CLI packagemaker
  • From: Paul Walmsley <email@hidden>
  • Date: Fri, 27 Mar 2009 13:05:10 +0000

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'


Paul
_______________________________________________
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


  • Follow-Ups:
    • Re: Crash using CLI packagemaker
      • From: Rick Mann <email@hidden>
    • Re: Crash using CLI packagemaker
      • From: Rick Mann <email@hidden>
References: 
 >Crash using CLI packagemaker (From: Rick Mann <email@hidden>)

  • Prev by Date: updaters again
  • Next by Date: RE: Upgrading and not replacing in a distribution package on Tiger orLeopard
  • Previous by thread: Crash using CLI packagemaker
  • Next by thread: Re: Crash using CLI packagemaker
  • Index(es):
    • Date
    • Thread