Re: Class won't allocate
Re: Class won't allocate
- Subject: Re: Class won't allocate
- From: "Michael Ash" <email@hidden>
- Date: Mon, 12 Jun 2006 11:18:11 -0400
On 6/12/06, email@hidden <email@hidden> wrote:
I'll keep your advice in mind about ZeroLink. If I understood
correctly, the
problem appeared because of ZeroLink and because the files PrimesRecord.h&.m
were created in a different project and added later, and Xcode forgot to
update
the targets for those files. Although I copy files from one project to
another
often, it is the first time I have come across this one. Xcode's behaviour
looks
rather erratic on this ...
When you add a file to an Xcode project, there's a sheet that drops
down with various options. The bottom half of the sheet lists the
targets in your project with checkboxes next to each one. This is how
you decide which files get put in which targets. (You can also change
it later by dragging stuff around the targets.)
The ZeroLink connection is that you would have gotten a nice and
relatively obvious linker error with ZL off, whereas you just get a
befuddling situation with stuff being nil with ZL on.
Mike
_______________________________________________
Do not post admin requests to the list. They will be ignored.
Cocoa-dev mailing list (email@hidden)
Help/Unsubscribe/Update your Subscription:
This email sent to email@hidden