kennytm/iphone-private-frameworks

IOSurfaceAPI.h

maxpy opened this issue · 3 comments

cp: /System/Library/Frameworks/IOSurface.framework/Headers/IOSurfaceAPI.h: No such file or directory
and spotlight also found nothing.
Any idea?

If you have the Snow Leopard SDK installed, IOSurface.framework will contain that header. If you don't have Snow Leopard, the header is a bit more difficult to get a hold of (because it can't be legally distributed).

My fork contains a fallback header that defines IOSurfaceRef, but none of the functions. It can be used to compile using headers that only require the type to be defined.

Hi rpetrich, thanks for adding the _fallback headers. The readme in Tyr0's fork also explains: In order to use, copy IOSurfaceAPI.h from /System/Library/Frameworks/IOSurface.framework/Headers/ to /theos/include/IOSurface/

Can I ask a quick question while I'm here? I'm having a really hard time compiling QuickScroll2 from http://code.google.com/p/networkpx/
How compatible are these private frameworks with the iOS 4.1 SDK?
If these ones aren't, is your fork more up to date? To be honest, I don't have much experience with this, and would really appreciate some advice.

Thanks,
Nathan B

google it :) "index of IOSurface.framework" -> search for what you want [IOSurfaceAPI.h]