I am wondering how to get any useful information out of Shark.
When I run it, it just comes up with 'unknown library' for everything related to my code.
In XCode, I have clicked on the target of my file, and I have chosen 'build', and under 'code generation', I have clicked 'generate debug symbols'.
In the general proferences, under 'debugging' I have unclicked 'load symbols lazily'.
Those are the only instructions I could find, with all my googling, for how to get the symbols to show up in the recording, and yet still, nothing happens but a bunch of number addresses and 'unknown library' results. What else do I need to turn on to find out what is taking the time in my program?
I have got the time down significantly, by fixing a few things. But there are still a couple of things that go more slowly that I'd like when loading and when starting a new game. My hunch is that I have some very inefficient methods of looping through things, because this is the first program I've written and I don't really know how to do some things more efficiently. I expect that it might be some places where I used fast enumeration, where I have to go through an array repeatedly looking for a matching value and then sticking it in another array, etc. That sounds like it's something that would be quite inefficient, doesn't it? But I don't know how else to do it, and I don't want to spend ages trying to come up with a better way, if it turns out that that's not the problem after all. So being able to see the actual names of things that are taking the time would be very helpful!
What other settings might there be in XCode that I've missed, that would give me more useful information when I run Shark?
