Skip to content
Guest Big Announcement

Problem With SpringBoard.h

Featured Replies

Hello Guys

i have a problem when importing <SpringBoard/SpringBoard.h>

 

Output In Terminal
 

 make package
Making all for tweak iP3S1mAdBlocker...
 Preprocessing Tweak.xm...
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.
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 Tweak.xm:3:
In file included from /var/root/ip3s1madblocker/theos/include/SpringBoard/SpringBoard.h:8:
In file included from /var/root/ip3s1madblocker/theos/include/SpringBoard/SpringBoard-Structs.h:13:
In file included from /var/root/ip3s1madblocker/theos/include/ChatKit/ChatKit.h:41:
In file included from /var/root/ip3s1madblocker/theos/include/ChatKit/CKMailComposeRecipient.h:6:
In file included from /var/root/ip3s1madblocker/theos/include/MessageUI/ComposeRecipient.h:9:
In file included from /var/root/ip3s1madblocker/theos/include/MessageUI/MessageUI-Structs.h:8:
In file included from /var/root/ip3s1madblocker/theos/include/UIKit/UIKit2.h:227:
/var/root/ip3s1madblocker/theos/include/UIKit/UISearchResultsTableView.h:12:2: error:
      'UISearchDisplayController' is deprecated: first deprecated in iOS 8.0 -
      UISearchDisplayController has been replaced with UISearchController
      [-Werror,-Wdeprecated-declarations]
        UISearchDisplayController* _controller;
        ^
/var/root/ip3s1madblocker/theos/sdks/iPhoneOS8.1.sdk/System/Library/Frameworks/UIKit.framework/Headers/UISearchDisplayController.h:18:12: note:
      'UISearchDisplayController' has been explicitly marked deprecated here
@interface UISearchDisplayController : NSObject
           ^
In file included from Tweak.xm:3:
In file included from /var/root/ip3s1madblocker/theos/include/SpringBoard/SpringBoard.h:8:
In file included from /var/root/ip3s1madblocker/theos/include/SpringBoard/SpringBoard-Structs.h:13:
In file included from /var/root/ip3s1madblocker/theos/include/ChatKit/ChatKit.h:41:
In file included from /var/root/ip3s1madblocker/theos/include/ChatKit/CKMailComposeRecipient.h:6:
In file included from /var/root/ip3s1madblocker/theos/include/MessageUI/ComposeRecipient.h:9:
In file included from /var/root/ip3s1madblocker/theos/include/MessageUI/MessageUI-Structs.h:8:
In file included from /var/root/ip3s1madblocker/theos/include/UIKit/UIKit2.h:227:
/var/root/ip3s1madblocker/theos/include/UIKit/UISearchResultsTableView.h:14:30: error:
      'UISearchDisplayController' is deprecated: first deprecated in iOS 8.0 -
      UISearchDisplayController has been replaced with UISearchController
      [-Werror,-Wdeprecated-declarations]
@property(assign, nonatomic) UISearchDisplayController* controller;
                             ^
/var/root/ip3s1madblocker/theos/sdks/iPhoneOS8.1.sdk/System/Library/Frameworks/UIKit.framework/Headers/UISearchDisplayController.h:18:12: note:
      'UISearchDisplayController' has been explicitly marked deprecated here
@interface UISearchDisplayController : NSObject
           ^
In file included from Tweak.xm:3:
In file included from /var/root/ip3s1madblocker/theos/include/SpringBoard/SpringBoard.h:8:
In file included from /var/root/ip3s1madblocker/theos/include/SpringBoard/SpringBoard-Structs.h:13:
In file included from /var/root/ip3s1madblocker/theos/include/ChatKit/ChatKit.h:41:
In file included from /var/root/ip3s1madblocker/theos/include/ChatKit/CKMailComposeRecipient.h:6:
In file included from /var/root/ip3s1madblocker/theos/include/MessageUI/ComposeRecipient.h:9:
In file included from /var/root/ip3s1madblocker/theos/include/MessageUI/MessageUI-Structs.h:8:
In file included from /var/root/ip3s1madblocker/theos/include/UIKit/UIKit2.h:565:
/var/root/ip3s1madblocker/theos/include/UIKit/UISearchDisplayTableViewController.h:12:2: error:
      'UISearchDisplayController' is deprecated: first deprecated in iOS 8.0 -
      UISearchDisplayController has been replaced with UISearchController
      [-Werror,-Wdeprecated-declarations]
        UISearchDisplayController* _linkedSearchDisplayController;
        ^
/var/root/ip3s1madblocker/theos/sdks/iPhoneOS8.1.sdk/System/Library/Frameworks/UIKit.framework/Headers/UISearchDisplayController.h:18:12: note:
      'UISearchDisplayController' has been explicitly marked deprecated here
@interface UISearchDisplayController : NSObject
           ^
3 errors generated.
make[2]: *** [obj/Tweak.xm.3641bcbb.o] Error 1
make[1]: *** [internal-library-all_] Error 2
make: *** [iP3S1mAdBlocker.all.tweak.variables] Error 2

if delete #import <Springboard/SpringBoard.h> there is no problem , but i need springboard.h file .

Thanks For Help .

Solved by Rook

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.