新人-Theos使用问题,install失败

我是个新手按着书上的内容安装了theos 起初编写了一hello world 在已越狱的iPad上运行正常,但是过一阵子再次重新 make package install 的时候,报错,可以生成deb文件,

##以下是错误信息:

BigHead:test2 apple$ make package install

/Users/apple/Desktop/HACK/test2/theos/makefiles/targets/Darwin/iphone.mk:41: Deploying to iOS 3.0 while building for 6.0 will generate armv7-only binaries.

Making all for tweak test2…

make[2]: Nothing to be done for `internal-library-compile’.

Making stage for tweak test2…

du: invalid option – ‘I’

Try ‘du --help’ for more information.

dm.pl: building package com.yourcompany.test2:iphoneos-arm' in ./com.yourcompany.test2_0.0.1-9_iphoneos-arm.deb’

install.exec “cat > /tmp/_theos_install.deb; dpkg -i /tmp/_theos_install.deb && rm /tmp/_theos_install.deb” < "./com.yourcompany.test2_0.0.1-9_iphoneos-arm.deb”

dpkg: error processing /tmp/_theos_install.deb (–install):

parse error, in file /var/lib/dpkg/tmp.ci/control' near line 10 package com.yourcompany.test2’:

EOF before value of field `Installed-Size’ (missing final newline)

Errors were encountered while processing:

/tmp/_theos_install.deb

make: *** [internal-install] Error 1

##已经生产的deb放在iPad里也是不能安装 报错

dpkg: error processing /tmp/_theos_install.deb (–install):

parse error, in file /var/lib/dpkg/tmp.ci/control' near line 10 package com.yourcompany.test2’:

EOF before value of field `Installed-Size’ (missing final newline)

Errors were encountered while processing:

/tmp/_theos_install.deb

##我已经重新越狱过设备,并且重装过Theos 就差重装系统了…求指导

helloproject.zip (24.0 KB)

你试下我的源码 对比下 看看那里出问题了

没有不同 :joy:难道要我重装系统?

好吧 自己动手丰衣足食

原因是前阵子安装的 iterm的ls颜色造成的

具体是在 .bash_profile 文件中添加了如下内容导致的:

if brew list | grep coreutils > /dev/null ; then PATH="$(brew --prefix coreutils)/libexec/gnubin:$PATH" alias ls='ls -F --show-control-chars --color=auto' eval `gdircolors -b $HOME/.dir_colors` fi

删除上述内容之后恢复正常.

如果两全其美的办法请请发送邮件到iostreenewbee@163.com 谢谢

您好我也是报了这个错。之前在安装iOSOpenDev的时候修改了.bash_profile文件,现在不知道怎么改回来。。:joy::joy::joy:
可以看一下你的.bash_profile文件吗?

1 个赞
export THEOS=/opt/theos

清空也可以的,然后写一行进去

嗯嗯,明白了,谢谢!
我的这个问题解决了,我把越狱手机从6换成5就没问题了,只是原先手机的/Developer/目录下没有其他东西了,只有一个2.test文件夹。后续的debugserver就不能用书上的方式拷贝出来了。

请问一下,你遇到的问题是因为手机的问题吗。
我的是因为在新电脑上才出现的问题,老的iMac没问题,能交流一下吗

你好,我也遇到同样问题,能发一下你的.bash_profile 参考一下吗