cdvir1 / siphon

Automatically exported from code.google.com/p/siphon
0 stars 0 forks source link

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

Open GoogleCodeExporter opened 8 years ago

GoogleCodeExporter commented 8 years ago
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 commented 8 years ago
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 commented 8 years ago
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 commented 8 years ago
Is anybody has solution ? plz help.

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

GoogleCodeExporter commented 8 years ago
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