Reputation: 1271
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.
Upvotes: 5
Views: 625
Reputation: 586
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.
Upvotes: 1