Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

There is a way to link GLKit in an IOS4 app?

I build an application that uses GLKit in order to draw OpenGL stuff on the screen. I know that this is an iOS5 framework but, I was wondering if there is a way to link with glkit dylib by hand. I'll appreciate if I do not need to rebuild my code since GLKit is much more easy to use.

like image 990
McLeary Avatar asked Nov 13 '22 13:11

McLeary


1 Answers

Unfortunately there is non known way for the iPhone.

I tried the same for OS X 10.6 with a copy of the GLKit framework library from OS X 10.8 and as i already supposed they used features that where not available in OS X 10.6 an my application just quits. With 10.7 it worked since 10.8 is pretty close to the previous OS X.

You can try to copy the GLKit Framework from /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneOS.platform/Developer/SDKs/iPhoneOS6.0.sdk/System/Library/Frameworks/GLKit.framework to the path of the iPhone 4 SDK folder.

The framework and header files should then be accessible in your older Xcode version which is probably in /Developer since you are using an old version of Xcode.

like image 64
SMP Avatar answered Jan 13 '23 13:01

SMP