phantom link errors in xcode
phantom link errors in xcode
- Subject: phantom link errors in xcode
- From: "Schuyler, Dave" <email@hidden>
- Date: Wed, 7 Apr 2004 20:28:42 -0700
- Thread-topic: phantom link errors in xcode
Hi, I'm using xcode 1.1 on OS X 10.3.3
[There is no question to be answered here, this is just for your information
(or for your entertainment)].
I had some weird link problems with xcode that I'm mentioning here, rather
than filing a bug report, because I don't have a reproducible test case.
I have a project with several targets. One of the targets had link errors, so
I switched to a different target that has different source files (to work on
something else for a bit). When building the second target I got what I think
where the same link errors. That made no sense to me. Yes, I did actually
switch the target using the popup in the project window (and the little icon
switched to the second target).
After a while, not having figured out what the problem was, I started removing
source files from my current target. The link errors continued. There were
only eight files in the target so I went ahead and removed them all. Then
there was no link error. Great.
So, I added the source files back to the target and built it each time (it was
a Framework target). It worked each time I added another file. Once I had
added all the files (by checking the Target checkbox in the source file list)
it still built fine.
OK, it seems that something got confused and removing the files and adding
them back cleaned it up. I guess I'm OK, but I wondered how painful that
would be with a target with hundreds of source files.
I wanted to mention this problem in case someone else has a similar problem
(because I'm assuming that if enough people encounter it, something will be
done to address it -- so this is one vote toward that).
Thanks.
P.S. I had sent this to the list some time ago and I got a response that it
was awaiting moderator approval. That doesn't seem to be happening so I'm
trying again. I apologize if you get this twice.
_______________________________________________
xcode-users mailing list | email@hidden
Help/Unsubscribe/Archives: http://www.lists.apple.com/mailman/listinfo/xcode-users
Do not post admin requests to the list. They will be ignored.