Jump to content

fatal error: Foundation.h not found


Go to solution Solved by Cyber X,

11 posts in this topic

Recommended Posts

Posted

rHU5pZT.jpg

 

so i go to

/var/theos/Prefix.pch

and it said that #import <Foundation/Foundation.h>

was already there i don't know why it says file not found

does anyone know why.              THANKS :)

Posted

Now i get this

/bin/sh: cut: command not found
/bin/sh: md5sum: command not found
/bin/sh: cut: command not found
 Preprocessing Tweak.xm...
 Compiling Tweak.xm...
In file included from <built-in>:181:
In file included from <command line>:
In file included from /var/mobile/kikv/theos/Prefix.pch:2:
In file included from /var/mobile/kikv/theos/include/Foundation/Foundation.h:6:
/var/mobile/kikv/theos/sdks/iPhoneOS7.1.sdk/System/Library/Frameworks/CoreFounda                             tion.framework/Headers/CoreFoundation.h:11:10: fatal error:
      'sys/types.h' file not found
#include <sys/types.h>
         ^
1 error generated.
make[2]: *** [obj/Tweak.xm..o] Error 1
make[1]: *** [internal-library-all_] Error 2
make: *** [kikv.all.tweak.variables] Error 2

Posted

:wallbash: always me having this much pproblems

I'm using iOS 8 Sdk and I don't have that header. :3

Posted (edited)

Don't include Foundation/Foundation.h , you dont need it. No tutorial is accurate at this point so only include substrate.h

Updated by castix
  • Solution
Posted

How I Fixed it...


 


OLD 


I was using sdk 7.1


missing alot of .h


 


:new:


re download theos


now using sdk 8.1


added alot more .h to the include folder


 


 


Thanks To DiDA 


:nyancat:

Posted

I am using ios 7.0.4 is it ok if i use sdk 8.1????? because i had the same error as @L33TPr0xY and I also downloaded Ryan Petric but I still have foundation.h missing. I also deleted the file but I still get the same problem. If i can't use sdks 8.1 how do i fix it?

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
×
  • Create New...

Important Information

We would like to place cookies on your device to help make this website better. The website cannot give you the best user experience without cookies. You can accept or decline our cookies. You may also adjust your cookie settings. Privacy Policy - Guidelines