1

I get an error like this when i am trying to compile my tweak. What should i do?

/var/theos/Prefix.pch:9:11: fatal error: 'Foundation/Foundation.h'
      file not found
                #import <Foundation/Foundation.h>
                        ^
  • remove that line and Import – KKRocks Jun 24 '17 at 15:46
  • @KKRocks Which line? The whole quoted text is an error, i didnt write anything about this. Just write "make this package install" and it gives this error after some proccess –  Jun 24 '17 at 15:48
  • #import this line. – KKRocks Jun 24 '17 at 15:49
  • @KKRocks how? This is an error message :/ –  Jun 24 '17 at 15:50
  • check in build phase -> Link Binary With Libraries. if there framework exist then remove that. – KKRocks Jun 24 '17 at 15:51
  • @KKRocks I linked "perl" /usr/bin to /usr/locale/bin, is this what you saying? Sorry for all idiotic questions, i am trying to learn. Thanks for patience!! –  Jun 24 '17 at 15:53
  • did any .pch file exist in you project. find that file and check there . – KKRocks Jun 24 '17 at 15:55
  • @KKRocks no it doesnt have any .pch file. I started it as "iphone - tweak" option. It only has these -> control, makefile, xxx.plist, xxx.xm, and obj folder –  Jun 24 '17 at 15:58
  • see this may help you - https://stackoverflow.com/questions/14793329/fixing-file-project-pch-has-been-modified-since-the-precompiled-header-was-bui – KKRocks Jun 24 '17 at 16:04
  • @KKRocks sorry but this isnt similar with my error. Mine is this https://imgur.com/gallery/MalGH –  Jun 24 '17 at 16:09

0 Answers0