Ios 使用theos编译调整时的SpringBoard标题错误

Ios 使用theos编译调整时的SpringBoard标题错误,ios,jailbreak,tweak,theos,Ios,Jailbreak,Tweak,Theos,我不熟悉越狱调整开发,我正在使用theos开发我的调整,但在使用make命令编译调整时遇到了一些问题 基本上,我用class-dump-z转储了所有的ios7springboard标题,并将它们全部放在theos/include文件夹中。我意识到有一个类叫做XXUnknownSuperClass,当我编译这个调整时,我从这个类中得到了一些错误 /theos/include/Spring/SBUIAnimationController.h:8:9: error: 'XXUnknown

我不熟悉越狱
调整
开发,我正在使用theos开发我的调整,但在使用make命令编译调整时遇到了一些问题

基本上,我用class-dump-z转储了所有的
ios7springboard
标题,并将它们全部放在theos/include文件夹中。我意识到有一个类叫做
XXUnknownSuperClass
,当我编译这个调整时,我从这个类中得到了一些错误

/theos/include/Spring/SBUIAnimationController.h:8:9: error: 
      'XXUnknownSuperclass.h' file not found with <angled> include; use "quotes"
      instead
#import <XXUnknownSuperclass.h> // Unknown library
        ^~~~~~~~~~~~~~~~~~~~~~~
        "XXUnknownSuperclass.h"

/theos/include/Spring/XXUnknownSuperclass.h:14:12: error: 
      cannot find interface declaration for 'XXUnknownSuperclass'
@interface XXUnknownSuperclass (SBApplicationAdditions)

fatal error: too many errors emitted, stopping now [-ferror-limit=]
/theos/include/Spring/SBUIAnimationController.h:8:9:错误:
未找到包含的“XXUnknownSuperclass.h”文件;使用“引号”
相反
#导入//未知库
^~~~~~~~~~~~~~~~~~~~~~~
“XXUnknownSuperclass.h”
/theos/include/Spring/XXUnknownSuperclass.h:14:12:错误:
找不到“XXUnknownSuperclass”的接口声明
@接口XXUnknownSuperclass(SBApplicationAdditions)
致命错误:发出的错误太多,正在停止[-ferror limit=]
我的下一个问题是,当点击
SpringBoard
上的应用程序图标时,我可以钩住
SBIconViewDelegate
来运行自定义方法吗


非常感谢你的帮助

类转储中的某些头文件不能直接使用。存在一些常见错误,可以按以下方式进行更改

#import "NSObject.h"
-> 
#import <Foundation/NSObject.h>

@class CTPhoneNumber, NSArray, NSDate, NSDictionary, NSMutableArray, NSMutableDictionary, NSObject<CTMessageAddress, NSCopying>, NSString;
->
@class CTPhoneNumber, NSArray, NSDate, NSDictionary, NSMutableArray, NSMutableDictionary, NSObject<CTMessageAddress, NSCopying>, NSString;

NSObject<CTMessageAddress><NSCopying>
->
NSObject<CTMessageAddress,NSCopying>
#导入“NSObject.h”
-> 
#进口
@类CTPhoneNumber、NSArray、NSDate、NSDictionary、NSMutableArray、NSMutableDictionary、NSObject、NSString;
->
@类CTPhoneNumber、NSArray、NSDate、NSDictionary、NSMutableArray、NSMutableDictionary、NSObject、NSString;
NSObject
->
NSObject
对于您的问题,您可以删除关于“XXUnknownSuperclass”的声明或实现,或者有时只删除“XXUnknownSuperclass”

我宁愿只声明关于当前项目的接口。您还可以在github.com上搜索“iOS头”,下载其他人转储和修改的头


通常SBIconViewDelegate是由SBIconController实现的,您可以检查SBIconController的头文件和钩子相关方法。

谢谢您的回答。我会尽快尝试!