Hello:
I'm having some problems with Xcode that I'm trying to decipher and hope that someone on this list can explain to me why it fails so miserably.
Scenario 1: I'm happily coding away in Xcode with my large C++ framework that I'm working on and I decide I need to add a new data member to one of my classes. So I add the data member and some accessors for it and then go and build my project. It seems to build fine but when I go to run it all hell breaks loose and my application starts misbehaving very badly! So I comment out my newly added data member and build and run the code again, viola works fine!
Yes! I do know what is going wrong here but my question is why? Why do I have to go and throw away my build folder and possibly my precompiled headers and who knows what else in order for Xcode to figure out it needs to get rid of this stuff and recreate it all. I mean I thought this is what an IDE was supposed to do, why do I have to do all of this groveling in order to get such a simple addition to build successfully.
My understanding of a development environment is that it is supposed to manage all of this dependency tracking and do the right thing! Xcode seems to have a very hard time getting dependencies right a some of the time. I end up wasting large amounts of time trying to decipher why it is hosed, with the only solution being throwing away anything it has produced. At the very least give me a "Clean All" that would really do what it says and get rid of everything!
Now granted it could be my fault in that I do not have something setup correctly, but should I really have to be setting something up to have something this fundamental work correctly?
Scenario 2: I have quite a few static C++ libraries [7] included in my projects, but whenever I open a project Xcode seems to have them all messed up. If I want to do a DEBUG build it shows all of the libraries as being a mix of DEBUG and RELEASE, of course trying to switch between the two does nothing. The only way I can work around the problem is I have to do a build and let it fail, then when I switch between DEBUG and RELEASE the libraries will be updated correctly. Is this a known problem or am I doing something wrong, it has certainly been in all of the recent versions on Xcode that I have tried.
Then there is a question about the preference that is supposed to SAVE ALL files before building, why does xCode not ALWAYS save all files before building, it seems to have some decision process where by it does not save ALL of the files, why?
Hopefully some kind person on this mailing list will enlighten me as to why Xcode seems to be a little sloppy at these very fundamental tasks that one should take for granted with an IDE. Or show me where I'm the one to blame and not the tool!
-- Robin
________________________________ Robin Mair E email@hidden |