守护进程无法运行


#1

根据这篇帖子来做的。Run a daemon (as root) on iOS
下载的大神的源码,并且在Library下新建了DEBIAN目录。plist权限修改为644
一直到 Part III Testing这部分之前都和帖子上的情况一样
到了测试部分,查找log。
grep iosre /var/log/syslog 查到下面的日志

Dec 31 12:06:02 localhost com.apple.launchd[1] (com.iosre.rootdaemond[21]): (com.iosre.rootdaemond) Exited with code: 2
Dec 31 12:06:02 localhost com.apple.launchd[1] (com.iosre.rootdaemond): (com.iosre.rootdaemond) Throttling respawn: Will start in 10 seconds
Dec 31 12:06:12 veijerddi-iPhone5C com.apple.launchd[1] (com.iosre.rootdaemond[200]): (com.iosre.rootdaemond) Job failed to exec(3). Setting up event to tell us when to try again: 2: No such file or directory
Dec 31 12:06:12 veijerddi-iPhone5C com.apple.launchd[1] (com.iosre.rootdaemond[200]): (com.iosre.rootdaemond) Job failed to exec(3) for weird reason: 2
Dec 31 12:20:49 localhost com.apple.launchd[1] (com.iosre.rootdaemond[21]): (com.iosre.rootdaemond) Exited with code: 2
Dec 31 12:20:49 localhost com.apple.launchd[1] (com.iosre.rootdaemond): (com.iosre.rootdaemond) Throttling respawn: Will start in 10 seconds
Dec 31 12:20:59 veijerddi-iPhone5C com.apple.launchd[1] (com.iosre.rootdaemond[199]): (com.iosre.rootdaemond) Job failed to exec(3). Setting up event to tell us when to try again: 2: No such file or directory
Dec 31 12:20:59 veijerddi-iPhone5C com.apple.launchd[1] (com.iosre.rootdaemond[199]): (com.iosre.rootdaemond) Job failed to exec(3) for weird reason: 2

我在google上也没搜到答案。求大神给看看


#2

你在Cydia里进入这个daemon的界面,看看文件系统里都有哪些文件,截个图贴上来


#3


#4

你联系一下这个帖子的作者,他已经在iOS 9上跑起来daemon了


#5

我设备是7.1.2 但电脑上sdk版本是9.2
会和这个有关系吗 要不我先下载一个7.1的sdk试试