Permanent error after import IOkit framework

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:



http://ios-blog.co.uk/tutorials/iokit-an-introduction/



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?

Posted on Jan 31, 2013 7:02 AM

Reply
2 replies

This thread has been closed by the system or the community team. You may vote for any posts you find helpful, or search the Community for additional answers.

Permanent error after import IOkit framework

Welcome to Apple Support Community
A forum where Apple customers help each other with their products. Get started with your Apple Account.