views:

68

answers:

0

I've been trying to implement a singleton for shared data in an iPhone app, and I've used both the macro found here: link text

and I've tried transplanting the code from the macro to straight .h/.m files and I can Build and Debug just fine, but once I try to run instruments I get an immediate crash with no helpful information (before the app even launches).

Is this common? Is it possibly not the singleton doing it (thought it seems like it started right when I added the singleton, there were some other app changes in there as well between runs, I think)? Does anyone else have any problems in xCode 3.1.2 running instruments using the singleton macro or direct code to that effect?

Thanks in advance....