Jump to content

Problem With SpringBoard.h


Go to solution Solved by Rook,

3 posts in this topic

Recommended Posts

Posted

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 .

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