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

Dear All,

I just started to read the Book and have a problem, when I’m trying to install the tweak on iPhone (Page 66). Hope that anyone can help! Should be easy for you ) I’m using iPhone 5S with iOS 8.4.

So I have this output after “make package install”

Making all for tweak iOSREProject...
make[2]: Nothing to be done for `internal-library-compile'.
Making stage for tweak iOSREProject...
dm.pl: building package `com.iosre.iosreproject:iphoneos-arm' in `./com.iosre.iosreproject_0.0.1-13_iphoneos-arm.deb'
install.exec "cat > /tmp/_theos_install.deb; dpkg -i /tmp/_theos_install.deb && rm /tmp/_theos_install.deb" < "./com.iosre.iosreproject_0.0.1-13_iphoneos-arm.deb"
root@172.20.10.3's password: 
(Reading database ... 2475 files and directories currently installed.)
Unpacking com.iosre.iosreproject (from /tmp/_theos_install.deb) ...
dpkg: error processing /tmp/_theos_install.deb (--install):
 unable to create `./Developer/2.test': Read-only file system
Errors were encountered while processing:
 /tmp/_theos_install.deb
make: *** [internal-install] Error 1

My Makefile:

export THEOS_DEVICE_IP = 172.20.10.3
export ARCHS = armv7 arm64
export TARGET = iphone:clang:latest:8.0

include theos/makefiles/common.mk

TWEAK_NAME = iOSREProject 
iOSREProject_FILES = Tweak.xm 
iOSREProject_PRIVATE_FRAMEWORK = BaseBoard 
include $(THEOS_MAKE_PATH)/tweak.mk

after-install::
install.exec "killall -9 SpringBoard"

Thank you in advance !!!

This is the real problem, dpkg-deb doesn’t have the permission to write to ./Developer/
You can try putting 2.test under another directory, say /User/Documents/, then it’ll probably work

我也遇到了这样的情况,按照狗神的说法改了就可以了,原因是什么啊?

我也遇到了这个问题,我把设备从iphone6 换成iphone5就好了,太奇怪了。。我感觉是新版本的theos的原因。

这个主要是./layout/Developer/2.test这个没有权限,感觉跟Developer这个文件夹命名有关吧,./var…/3.test这个就可以成功安装。