370 Views 2 Replies Latest reply: Jan 31, 2013 11:43 AM by xnav
i'm new in this forum.
I'm trying to work with light sensor in iphone but the only framework that permits it is IOKit.
i tried to add the framework follow this guide:
but xcode returns me some error.
Error's List: http://pastebin.com/TMimhsXF
i linked the framework in Build Phases and after this i downloaded the header and put in search path(/Developer/SDKs/MacOSX10.6.sdk/System/Library/Frameworks/IOKit.framework) the path .
Now afterward i put the framework ( path of framework)in the framework folder. But when i compiled it xcode returned this error and if i try to remove that framework the problem persist.
How to resolve this problem?