site_archiver@lists.apple.com Delivered-To: installer-dev@lists.apple.com Dkim-signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:received:received:message-id:from:to :in-reply-to:content-type:content-transfer-encoding:subject :mime-version:date:references:x-mailer; bh=x2f5J9xk7d+DTWPBipZhDpO/++vTeMFHE2F7Nv24hAA=; b=IyvMicnFfO90y0Bc/ue3gcAkhxzE2geQx3wPzK4+V1tF1Ip81+mA6zkswFVVwBKfST 7wDu/zea0JMs/0n2AwJXfXrbDlUU13aM9uO4L/4WuZLETp7/4WrnalDqpAPg+BDsP4dc +qZJh8F0OWnPRQwLZY1Blw13w0CMYx8PHVLd0= Domainkey-signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=message-id:from:to:in-reply-to:content-type :content-transfer-encoding:subject:mime-version:date:references :x-mailer; b=FkvgNwuAgKixOIOtvDzG2ajQ5iRu3iBIvFl+rJkqsXLwOchplXQ0IuPnfn+CT3kW2l /J+beIIsvLpDlYbJA7Hv5zgJnC9mO8MxwJtx+KKl0zVjNVmmNIn1I+olDd891DbTtALR kpx3LcTfbAQ1M7AjU0w8VOwAaL4eCLOralX5Q= On Aug 11, 2009, at 8:34 PM, Nathan Herring wrote: Welcome to packagemaker cli. Eli _______________________________________________ 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... While trying to use the commandline version of packagemaker with a premade .pmdoc file, I get the following in the terminal: 2009-08-11 20:27:55.125 packagemaker[840:10b] Setting to : 0 (null) 2009-08-11 20:27:55.128 packagemaker[840:10b] Setting to : 0 com.jigsawlearning.teachtown.pkg 2009-08-11 20:27:55.147 packagemaker[840:10b] Setting to : 0 com.jigsawlearning.teachtown.pkg 2009-08-11 20:27:55.149 packagemaker[840:10b] relocate: (null) 0 2009-08-11 20:27:55.150 packagemaker[840:10b] *** Terminating app due to uncaught exception 'NSInvalidArgumentException', reason: '*** -[NSXMLDocument initWithXMLString:options:error:]: nil argument' 2009-08-11 20:27:55.150 packagemaker[840:10b] Stack: ( 2474242027, 2528251451, 2474241483, 2474241546, 2445820292, 453371, 447720, 436209, 435510, 9986, 9918 ) Trace/BPT trap I've attached the crash report. It works fine building the package within the UI.
From what I can tell, EVERYBODY gets this crash when they first try to use the cli tool. It seems the tool has seen remarkably little testing within Apple, or else this crash is considered a right of passage... Anyway, you can google for 'packagemaker cli crash', and see a whole bunch of reports on this thing. Most likely, you can get past this specific problem by adding '--id yourpackageidentifier' to the options passed to the tool. Yes, even though you've already typed it in within the GUI. I suppose the tool just barely works so as to encourage you to not use it unless you REALLY have to (ie, switch to a drag install, or to write your own installer [which if you do, you can add uninstall while your at it]). This email sent to site_archiver@lists.apple.com
participants (1)
-
Eli Bach