• Open Menu Close Menu
  • Apple
  • Shopping Bag
  • Apple
  • Mac
  • iPad
  • iPhone
  • Watch
  • TV
  • Music
  • Support
  • Search apple.com
  • Shopping Bag

Lists

Open Menu Close Menu
  • Terms and Conditions
  • Lists hosted on this site
  • Email the Postmaster
  • Tips for posting to public mailing lists
Re: Weird exception
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Weird exception


  • Subject: Re: Weird exception
  • From: James Montgomerie <email@hidden>
  • Date: Mon, 25 Jan 2010 12:57:52 +0000

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 (email@hidden)

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:

This email sent to email@hidden

References: 
 >Weird exception (From: Alexander Bokovikov <email@hidden>)
 >Re: Weird exception (From: Kyle Sluder <email@hidden>)
 >Re: Weird exception (From: Alexander Bokovikov <email@hidden>)
 >Re: Weird exception (From: vincent habchi <email@hidden>)
 >Re: Weird exception (From: Alexander Bokovikov <email@hidden>)

  • Prev by Date: Re: What is the equivalent of SetSystemUIMode() in Leopard and above?
  • Next by Date: Re: MVC design Q - remembering Core Data selections
  • Previous by thread: Re: Weird exception
  • Next by thread: Re: Weird exception
  • Index(es):
    • Date
    • Thread