Re: Consistent PackageMaker Crash When Building
Re: Consistent PackageMaker Crash When Building
- Subject: Re: Consistent PackageMaker Crash When Building
- From: Dan Michaeli <email@hidden>
- Date: Tue, 27 Nov 2007 17:15:42 +0800
Stéphane, thank you for the tip on otool and PackageArchiver! The
problem actually turned out to be that otool was not present in my /
usr/bin folder (though it was in /Developer/usr/bin). When I copied it
from /Developer/usr/bin/ to /usr/bin, PackageMaker stopped crashing
and the package was properly built.
Best,
Dan
--
Dan Michaeli
On Nov 27, 2007, at 6:28 AM, Stéphane Sudre wrote:
On lundi, novembre 26, 2007, at 07:32 PM, Dan Michaeli wrote:
Hi Nathan,
That's a fair question, and thanks for writing back so quickly. The
file wasn't actually Zerolink activated, certainly not when it was
my own app. The other apps I tested including in the installer were
some basic Apple apps, like Dashboard and Calculator. All had the
same crash when I tried to build. The exact line in the display
just before the crash was always either "Checking for ZeroLink..."
or something about preverifying permissions.
After a quick look at what PM 3.0 does when you build a package,
it's possible that the "Checking for ZeroLink…" step is achieved
through the otool(1) command line utility. And it's called for every
executable inside the package.
This tool would be launched through a NSTask so if there's something
wrong with this tool on your system, then it could be the explanation.
The check permissions operation is apparently made though calls to
lstat.
And the next tool to be called is apparently the PackageArchiver
after every .perm file attached to each file and folder in the
package payload has been removed.
Building a package with AddressBook.app works fine on my Mac.
_______________________________________________
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
_______________________________________________
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