On 12 September 2006, at 15:45, Christopher Nebel wrote:
On Sep 11, 2006, at 6:03 PM, Chuck Goodman wrote:
I built a project on one Mac. when I launch the built project on
another Mac, it crashes with a zero link error.
I rebuilt it on this other Mac, noticed "zero link launcher"
during the build process and now that built project runs fine on
this other Mac.
What is this zero link issue?
That's not an issue, that's a feature. ZeroLink is an Xcode
feature that was designed to speed up launch time when developing
large projects. It's enabled in the standard Debug build
configuration. The difficulty with it is that because of how it
works, the resulting application can't run on any machine other
than the one it was built on. [1] The upshot is that you somehow
need to turn ZeroLink off. There are a few different ways to do
that: you could build using the Release configuration, which
doesn't use it; you could uncheck "Allow ZeroLink" in the Build
menu; or you could disable it in your Debug configuration.
I always just switch to Deployment, is there something wrong with that?
--Chris Nebel
AppleScript Engineering
[1] ZeroLink "links" your application not by combining the various
object files, but rather by creating a launcher that knows where to
find them when needed at run-time. Therefore, your "application"
file doesn't contain your code, but rather references to it
elsewhere on disk, and therefore won't run if it can't find them.
It would work if you copied the relevant parts of the build
directory as well, but you didn't know to do that, now, did you?
_______________________________________________
Do not post admin requests to the list. They will be ignored.
Applescript-studio mailing list (Applescript-
email@hidden)
Help/Unsubscribe/Update your Subscription: http://lists.apple.com/mailman/options/applescript-studio/
email@hidden
This email sent to email@hidden
--
hackmiester (Hunter Fuller)
<svinx> yknow when you go to a party, and everyones hooked up except
one guy and one girl
<svinx> and so they look at each other like.. do we have to?
<svinx> intel & nvidia must be lookin at each other like that right now
Phone
Voice: +1 251 589 6348
Fax: Call the voice number and ask.
Email
General chat: email@hidden
Large attachments: email@hidden
SPS-related stuff: email@hidden