Make package install后package文件夹没有生成deb文件


#1

执行make package install命令后,package文件夹没有生成deb文件导致报错
**日志:
==> Error: Could not find “./packages/com.wxs.wxsNX_0.0.1-1+debug_iphoneos-arm.deb” to install. Aborting.
make: *** [internal-install-check] Error 1
**代码: make package install
错误的意思是packages目录下没有.deb文件安装,但是我按照书上做的,而且我在另一台电脑上按这个步骤操作就没有问题,是软件配置的原因吗?


#2

make package有显示咩


#3

make package会出现package文件夹,但是里面没有东西


#4

有报错啥的么。
另外试试 find 你的工程路径 -name "*.deb"


#5

没有报错的啊,只是有俩警告的而已,我试了试您说的那个命令,没有显示别的东西


#6

hmmm感觉是环境问题


#7

对,我也感觉是环境问题,因为我在另一台电脑上用同样的命令就没问题,我在http://bbs.iosre.com/t/theos/2049这个帖子发现他的问题和我的一样,但是我的就是解决不了


#8

没报错日志我也爱莫能助🤦‍♂️


#9

执行make package后不报错,能生成package文件夹,但是文件夹没有东西。
执行make package install后报错,错误信息是:

Making all for tweak wxs…
make[2]: Nothing to be done for `internal-library-compile’.
Making stage for tweak wxs…
==> Error: Could not find “./packages/com.wxs.wxs_0.0.1-1+debug_iphoneos-arm.deb” to install. Aborting.
make: *** [internal-install-check] Error 1


#10

试试

make package messages=yes

#11

您能帮我看下吗,控制台输出信息是:

Making all for tweak wxs…
/Applications/Xcode.app/Contents/Developer/usr/bin/make -f Makefile --no-keep-going FORCE_COLOR=1
internal-library-compile
THEOS_CURRENT_TYPE=tweak THEOS_CURRENT_INSTANCE=wxs THEOS_CURRENT_OPERATION=compile
THEOS_BUILD_DIR="." THEOS_MAKE_PARALLEL=yes
make[2]: Nothing to be done for `internal-library-compile’.
set -o pipefail; (rm -rf "/Users/wangxiushuai/Desktop/wxs/wxs/.theos/
")
set -o pipefail; (/opt/theos/bin/fakeroot.sh -p “/Users/wangxiushuai/Desktop/wxs/wxs/.theos/fakeroot” -c)
set -o pipefail; (mkdir -p "/Users/wangxiushuai/Desktop/wxs/wxs/.theos/
")
set -o pipefail; ([ -d layout ] && rsync -a “layout/” "/Users/wangxiushuai/Desktop/wxs/wxs/.theos/
" --exclude “DEBIAN” --exclude “MTN" --exclude “.git” --exclude “.svn” --exclude “.DS_Store” --exclude ".*” || true)
Making stage for tweak wxs…
set -o pipefail; (mkdir -p “/Users/wangxiushuai/Desktop/wxs/wxs/.theos//Library/MobileSubstrate/DynamicLibraries/")
set -o pipefail; (cp /Users/wangxiushuai/Desktop/wxs/wxs/.theos/obj/debug/wxs.dylib "/Users/wangxiushuai/Desktop/wxs/wxs/.theos/
/Library/MobileSubstrate/DynamicLibraries/”)
set -o pipefail; (if [[ ! -f “wxs.plist” && ! -f “layout//Library/MobileSubstrate/DynamicLibraries/wxs.plist” ]]; then
printf “\e[0;31m==> \e[1;31mError:\e[m %s\n” "You are missing a filter property list. Make sure it’s named wxs.plist. Refer to http://iphonedevwiki.net/index.php/Cydia_Substrate#MobileLoader." >&2;
exit 1;
elif [[ -f “wxs.plist” ]]; then
cp wxs.plist “/Users/wangxiushuai/Desktop/wxs/wxs/.theos//Library/MobileSubstrate/DynamicLibraries/";
fi)
set -o pipefail; (mkdir -p "/Users/wangxiushuai/Desktop/wxs/wxs/.theos/
/DEBIAN”)
set -o pipefail; (sed -e ‘/^[Vv]ersion:/d; /^$/d; $a’ “/Users/wangxiushuai/Desktop/wxs/wxs/control” > “/Users/wangxiushuai/Desktop/wxs/wxs/.theos//DEBIAN/control")
set -o pipefail; (echo “Version: 0.0.1-6+debug” >> "/Users/wangxiushuai/Desktop/wxs/wxs/.theos/
/DEBIAN/control”)
set -o pipefail; (echo “Installed-Size: 120” >> “/Users/wangxiushuai/Desktop/wxs/wxs/.theos/_/DEBIAN/control”)


#12

应该就是安装软件的时候不知道哪一步做错了,因为我在另一台iMac上面安装的执可以用,在这台mac上面就不行,我重新安装一遍就没问题了。