On May 21, 2012, at 9:41 AM, Peter Krajčík wrote:

> Hello,
> I'm trying to migrate an existing application to sandboxing (on Lion).
> 
> It is just a regular document-based app, doesn't do anything wild.
> 
> I've enabled user selected file access (read/write).
> 
> Sometimes I get this message in the console:
> 5/21/12 3:28:35.002 AM sandboxd: ([7221]) MyAppName(7221) deny iokit-open 
> AppleGraphicsPolicyClient

If you have a dual-GPU Mac, then certain OpenGL pixel formats used by classes 
that use OpenGL, such as NSOpenGLView, IKImageBrowserView, and CALayer, will 
attempt to engage the discrete GPU using IOKit when they are setting up. If 
they're not successful, then you'll most likely see a lot of "invalid pixel 
format" log messages and drawing glitches. You might want to check to make sure 
your usage of any of those classes isn't causing drawing glitches to occur.

I'm not sure how to tell any of those classes not to use the discrete GPU, and 
I'd also like to know how to do that. Does anyone know, and if so, then how 
does one do it?

> What am I supposed to do about this? Is it OK to submit an app that generated 
> these messages for App Store Review?


It's always okay to submit an app. Whether it will be accepted or rejected 
depends on whether or not it complies with the review guidelines, which are 
posted on ADC.

Nick Zitzmann
<http://www.chronosnet.com/>


_______________________________________________

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:
https://lists.apple.com/mailman/options/cocoa-dev/archive%40mail-archive.com

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

Reply via email to