Re: 10.5 vs. 10.6 [NSMenu accessibilityIsIgnored] exception
Re: 10.5 vs. 10.6 [NSMenu accessibilityIsIgnored] exception
- Subject: Re: 10.5 vs. 10.6 [NSMenu accessibilityIsIgnored] exception
- From: Laurent Daudelin <email@hidden>
- Date: Fri, 7 May 2010 14:17:53 -0400
Well, it looks as if accessibilityIsIgnored is a 10.6 only method, it doesn't exist on 10.4 or 10.5. You should build against the 10.4 SDK to catch those problems.
-Laurent.
--
Laurent Daudelin
AIM/iChat/Skype:LaurentDaudelin http://nemesys.dyndns.org
Logiciels Nemesys Software email@hidden
Photo Gallery Store: http://laurentdaudelin.shutterbugstorefront.com/g/galleries
On May 7, 2010, at 14:13, Erik Benoist wrote:
> All-
> I am developing a small NSMenuItem which works well in 10.6, but when ran in 10.5 it spits the following stack trace. I am building against the 10.6 SDK with a deployment target of 10.4. With that said I can and I have built against the 10.4, 10.5, and 10.6 APIs without any problem, but this exceptions is still raised in 10.5 systems.
>
> 5/4/10 8:30:31 AM itunesbar[10130] *** -[NSMenu accessibilityIsIgnored]: unrecognized selector sent to instance 0x120390
> 5/4/10 8:30:31 AM itunesbar[10130] An uncaught exception was raised
>
> 5/4/10 8:30:31 AM itunesbar[10130] *** -[NSMenu accessibilityIsIgnored]: unrecognized selector sent to instance 0x120390
> 5/4/10 8:30:31 AM itunesbar[10130] *** Terminating app due to uncaught exception 'NSInvalidArgumentException', reason: '*** -[NSMenu accessibilityIsIgnored]: unrecognized selector sent to instance 0x120390'
> 5/4/10 8:30:31 AM itunesbar[10130] Stack: (
> 2420957163,
> 2522938939,
> 2420986346,
> 2420979692,
> 2420979890,
> 2432009822,
> 2432009662,
> 2431163468,
> 2431123386,
> 2431121692,
> 2431120735,
> 2431120541,
> 2431119692,
> 10646,
> 10429
> )
> 5/4/10 8:30:34 AM com.apple.launchd[147] ([0x0-0x23a23a].com.yourcompany.itunesbar[10130]) Exited abnormally: Trace/BPT trap
>
_______________________________________________
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