iphone-private-frameworks icon indicating copy to clipboard operation
iphone-private-frameworks copied to clipboard

IOSurfaceAPI.h

Open maxpy opened this issue 15 years ago • 3 comments

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

maxpy avatar May 02 '10 17:05 maxpy

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.

rpetrich avatar May 03 '10 20:05 rpetrich

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

ndbroadbent avatar Nov 03 '10 16:11 ndbroadbent

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

Kyslik avatar Aug 27 '12 20:08 Kyslik