clues to problems with sub-project dependancy bugs in xcode 1.2
clues to problems with sub-project dependancy bugs in xcode 1.2
- Subject: clues to problems with sub-project dependancy bugs in xcode 1.2
- From: joshua portway <email@hidden>
- Date: Thu, 8 Jul 2004 14:10:17 +0100
I think I've worked out what's going on.
To recap the story so far - we have a large and complex project
composed of 15 separate xCode projects, each with several targets and
complex dependancies. Xcode 1.2 wouldn't build our project properly
because it seemed to keep "forgetting" that we had included some
products from sub-projects in targets - you'd tick the little box to
include it in the target but when you closed and reopened the project
it would often forget and it would be unticked.
Here's what i just discovered - the sub-projects that were giving us
problems all have multiple products, and not ALL of those products were
being used in a target. Watching closely, I onoticed that each time i
reload project which included one of these problematic subprojects the
*ordering* of the sub-project's products (as shown when you expand it
in the project group view) was changing. Some products would move
about. Specifically, in the case I've just seen, when i first added my
subproject one of it's products started out at the top of the list, but
every time i closed and reopened the project it would move down one
place. When i ticked the box to include this product in the current
target and then closed and reopened the project it would be unticked.
Until the moving product got to the bottom of the list in the group
view - then it had nowhere else to go so it stayed there. NOW, when i
add it to the target and close and reopen the project it remembers that
it's been added.
So - my conclusion is that something somewhere is remembering which
sub-project products to include in a target using an index into the
sub-project's list of products. BUT for some reason the ordering of
sub-project products seems to be quite volatile and so this index
breaks. It's actually working for me now, but I fear that my luck is
rather tenuous and touching the wrong thing could cause the
sub-projects to reorder themselves again, and my project will break
again.
Hope this information helps someone sort this bug out ASAP......
josh
_______________________________________________
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.