ios - 使用 Theos 使用 'system' 命令编译错误

标签 ios theos tweak

我尝试自己进行调整。我从简单的事情开始。一个只是重新启动的调整。

当我尝试编译时,我有这个:

Error when try to compile

我的.m文件:

-(void)respring {
    system("killall -9 SpringBoard");
}

最佳答案

我在 Makefile 中添加了以下内容,问题已解决:

CFLAGS = -Wno-deprecated -Wno-deprecated-declarations

关于ios - 使用 Theos 使用 'system' 命令编译错误,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/55082704/

相关文章:

crash - Theos的调整导致__NSAutoreleaseNoPool()崩溃

ios - 创建自定义 iOS 越狱键盘

ios - 我是否必须重新启动设备才能重新安装篮板调整?

ios - 在 iOS 中调用电话时从哪个 header 调用哪个方法?

ios - 如何从 Theos 的子项目库中将文件包含在 Tweak.xm 中

ios - 子类化 UISplitViewController 时的奇怪错误

ios - 未知异常: signal SIGPIPE with crash when device is unlocked after locked screen

html - Objective-C 认证

ios - Theos 偏好包

ios - Collection View 单元格布局