> > Show us your code, and we'll tell you...
>
> Voila...
> > What does 'ZeroLink' really do?
> It defers 'linking'/referencing symbols until runtime, making the build
> time shorter. With today's fast machines it is generally prefered to
> disable ZeroLink, since it has some side effects (you can not distribute
> zerolinked binaries f.i.)
That means, disable Zerolink at least for deplyoment versions, right?
> Some strange things in here, not sure if they cause your problems or
> not.
I thought the real stuff (the programm code) is not interesting; my
opinion was, that there is a problem with the dependicies of the files.
> It's not useful to use @class in an implementation file. This should be
> an error I think, unless you don't use Box in your code at all.
Yes, it was a typo. The @class is in the .h file.
After hours and hours I got a tip at the cocoa mailing list.
XCode is so comfortable to write the getter and setter methods for
managed object classes. When I was changing the data model, e.g. for the
class Box, I created these methods again. *) And XCode put this .m file
again into the "target compiled files" list. As I opened the list, I
found much of this files twice, and especially Box.m five times.
Deleting this multiple files solved the problem.
Konni
*) Click into the data model, choose "New File", and then "Managed
Object Class" and XCode will create the .h and .m files and link it to
the project.

Signature
Grummelnd am Herd: http://www.roterochs.de/kulinarische-monologe/
Patrick Machielse - 28 Sep 2006 20:07 GMT
> That means, disable Zerolink at least for deplyoment versions, right?
yes.
> As I opened the list, I found much of this files twice, and especially
> Box.m five times.
>
> Deleting this multiple files solved the problem.
Hmm, so the error compiler/linker message actually pointed to the
problem. Refreshing!
patrick
Konni Scheller - 28 Sep 2006 20:47 GMT
> Hmm, so the error compiler/linker message actually pointed to the
> problem. Refreshing!
Well, did *YOU* ever trust an error message...?
Konni

Signature
Grummelnd am Herd: http://www.roterochs.de/kulinarische-monologe/
Patrick Machielse - 28 Sep 2006 21:18 GMT
> > Hmm, so the error compiler/linker message actually pointed to the
> > problem. Refreshing!
>
> Well, did *YOU* ever trust an error message...?
No, that's exactly what's so refreshing ;-)
But let's not get carried away, it was probably a coincidence...
I don't know what it is about compiler messages. Any time I see a new
one, I just copy and paste it in Google, to see what on earth it may
mean...
p.
Michael Ash - 30 Sep 2006 03:32 GMT
>> Hmm, so the error compiler/linker message actually pointed to the
>> problem. Refreshing!
>
> Well, did *YOU* ever trust an error message...?
They always worked for me. The trouble is that they tell you exactly
what's wrong, not how to fix it. Much like the difference between the
computer doing what you tell it, and doing what you want.

Signature
Michael Ash
Rogue Amoeba Software
Michael Ash - 30 Sep 2006 03:32 GMT
>> > What does 'ZeroLink' really do?
>> It defers 'linking'/referencing symbols until runtime, making the build
[quoted text clipped - 3 lines]
>
> That means, disable Zerolink at least for deplyoment versions, right?
No, disable it for everything. ZL is evil and will hide many nasty bugs
until much, much later than you made them. It only gives you a noticeable
speed savings on truly gigantic projects. Why Apple turns it on by default
is a contuing mystery.

Signature
Michael Ash
Rogue Amoeba Software
Konni Scheller - 30 Sep 2006 10:27 GMT
> No, disable it for everything.
[x] Done.
> ZL is evil and will hide many nasty bugs
> until much, much later than you made them. It only gives you a
> noticeable speed savings on truly gigantic projects.
Ok, thanks.
Regards,
Konni

Signature
Grummelnd am Herd: http://www.roterochs.de/kulinarische-monologe/