Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Unable to compile siphone2 project-(Lexical or preprocessor issue) <IOKit/pwr_mgt/IOPMLib.h> file not found #592

Open
GoogleCodeExporter opened this issue Feb 6, 2016 · 4 comments

Comments

@GoogleCodeExporter
Copy link

What steps will reproduce the problem?
1. Download Siphon read only project
2. Build Project

What is the expected output? What do you see instead?
Expected- Should build Sucessefully, but
(Lexical or preprocessor issue)  <IOKit/pwr_mgt/IOPMLib.h> file not found  
-error is coming

What version of the product are you using? On what operating system?
Xcode- 5.1.1
iphone simulator- 7.1



Original issue reported on code.google.com by kaushiks...@gmail.com on 25 Jun 2014 at 1:16

Attachments:

@GoogleCodeExporter
Copy link
Author

I also tried executing this command in terminal:
cd 
/Applications/Xcode.app/Contents/Developer/Platforms/iPhoneOS.platform/Developer
/SDKs/iPhoneOS7.1.sdk/System/Library/Frameworks/IOKit.framework

sudo ln -s Versions/A/IOKit


Original comment by kaushiks...@gmail.com on 25 Jun 2014 at 1:18

@GoogleCodeExporter
Copy link
Author

I have the exact same problem. The IOKit.framework is linked to the project, 
but there are no header files present here: 
/Applications/Xcode.app/Contents/Developer/Platforms/iPhoneOS.platform/Developer
/SDKs/iPhoneOS7.1.sdk/System/Library/Frameworks/IOKit.framework

Original comment by raxells...@gmail.com on 4 Jul 2014 at 10:21

@GoogleCodeExporter
Copy link
Author

Is anybody has solution ? plz help.

Original comment by uca...@gmail.com on 2 Oct 2014 at 12:43

@GoogleCodeExporter
Copy link
Author

IOKit is for jailbroken devices, i commented it and built it.. now it won't 
give the iokit errors.. 
You'll also need to comment all those codes that use it, 
you can find it easily by searching  for 

" #if defined(CYDIA) && (CYDIA == 1) " code and comment it till its closing " 
#endif "

Original comment by azala...@gmail.com on 9 Feb 2015 at 7:47

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

1 participant