Skip to content
Guest Big Announcement

Compile error: Foundation.h not found

Featured Replies

So I keep getting this error when compiling >

variables potentially modified elsewhere are deprecated at /private/var/theos/bin/lib/aliased.pm line 42.

Constants from lexical variables potentially modified elsewhere are deprecated at /private/var/theos/bin/lib/aliased.pm line 42.

Constants from lexical variables potentially modified elsewhere are deprecated at /private/var/theos/bin/lib/aliased.pm line 42.

Constants from lexical variables potentially modified elsewhere are deprecated at /private/var/theos/bin/lib/aliased.pm line 42.

Constants from lexical variables potentially modified elsewhere are deprecated at /private/var/theos/bin/lib/aliased.pm line 42.

Constants from lexical variables potentially modified elsewhere are deprecated at /private/var/theos/bin/lib/aliased.pm line 42.

Constants from lexical variables potentially modified elsewhere are deprecated at /private/var/theos/bin/lib/aliased.pm line 42.

Constants from lexical variables potentially modified elsewhere are deprecated at /private/var/theos/bin/lib/aliased.pm line 42.

Compiling Tweak.xm...

In file included from <built-in>:351:

In file included from <command line>:3:

/var/mobile/weedfirm/theos/Prefix.pch:2:10: fatal error:

'Foundation/Foundation.h' file not found

#import <Foundation/Foundation.h>

^

1 error generated.

make[2]: *** [obj/Tweak.xm.539fd678.o] Error 1

make[1]: *** [internal-library-all_] Error 2

make: *** [WeedFirm.all.tweak.variables] Error 2

johns-iPhone:/var/mobile/weedfirm root#

 

Yes I do have all the headers

Solved by Johnkittz

  • Author
  • Solution

Doubt you have Foundation.h in your framework. Check it

I figured it out :) for some reason filza was making dupe folders inside each other so the Sdk had to two folder inside each other :)

Create an account or sign in to comment

Featured Content

Search

Search

Configure browser push notifications

Chrome (Android)
  1. Tap the lock icon next to the address bar.
  2. Tap Permissions → Notifications.
  3. Adjust your preference.
Chrome (Desktop)
  1. Click the padlock icon in the address bar.
  2. Select Site settings.
  3. Find Notifications and adjust your preference.