On 25 Jan 2010, at 10:21, Alexander Bokovikov wrote:
> On 24.01.2010, at 14:08, vincent habchi wrote:
>> Under XCode, you select 'run with performance tool' -> 'zombies'.
>> This will launch your app with the 'zombie instrument' attached, that will 
>> signal you if you app tries to message a released entity.
> 
> I'm sorry, but I don't see "zombies" item within "Start with Performance 
> Tool" menu. I'm using XCode 3.1.4. Also it's not clear how to launch the app. 
> Is it enough to set the target SDK to 10.4 or should I transfer my project 
> into 10.4 system completely, then build it and run?

I think you're on a wild goose chase here - the most likely explanation to me 
is that something somewhere is deliberately calling -[NSString boolValue] (and 
it may not be 'your' code - I wouldn't put it out of the realms of possibility 
that a call to it sneaked into Sparkle), which didn't exist until 10.5.  

If this is the problem, and you want to target Tiger, the best solution would 
be to find the use of boolValue in the code base and replace it with something 
that will work on 10.4.

The category method you made on NSString is not the right solution - it almost 
certainly does less than the 10.5+ framework implementation, and it'll replace 
that method when system frameworks call it, which could cause all sorts of 
problems (this hit me in the past - the SYCK YAML parsing framework implemented 
-[NSString boolValue], and it caused problems with, of all things, the iPhone 
keyboard in iPhone OS 3.0).

Jamie.=
_______________________________________________

Cocoa-dev mailing list (Cocoa-dev@lists.apple.com)

Please do not post admin requests or moderator comments to the list.
Contact the moderators at cocoa-dev-admins(at)lists.apple.com

Help/Unsubscribe/Update your Subscription:
http://lists.apple.com/mailman/options/cocoa-dev/archive%40mail-archive.com

This email sent to arch...@mail-archive.com

Reply via email to