Make package install 报错:make: *** [internal-package] Error 2

我编写的tweak,在执行make package install时,报错:make: *** [internal-package] Error 2,详细信息如下:
LEEdeMacBook-Pro:wechattyttweakre lee$ make package install

Making all for tweak WeChatTytTweakRE…
make[2]: Nothing to be done for internal-library-compile'. Making stage for tweak WeChatTytTweakRE… make: *** [internal-package] Error 2 LEEdeMacBook-Pro:wechattyttweakre lee$ make clean ==> Cleaning… LEEdeMacBook-Pro:wechattyttweakre lee$ make package install Making all for tweak WeChatTytTweakRE… ==> Preprocessing Tweak.xm… ==> Compiling Tweak.xm (armv7)… ==> Linking tweak WeChatTytTweakRE (armv7)… ==> Preprocessing Tweak.xm… ==> Compiling Tweak.xm (arm64)… ==> Linking tweak WeChatTytTweakRE (arm64)… ==> Merging tweak WeChatTytTweakRE… ==> Signing WeChatTytTweakRE… Making stage for tweak WeChatTytTweakRE… make: *** [internal-package] Error 2 LEEdeMacBook-Pro:wechattyttweakre lee$ make package messages=yes Making all for tweak WeChatTytTweakRE… set -o pipefail; (/Applications/Xcode.app/Contents/Developer/usr/bin/make -f Makefile --no-print-directory --no-keep-going \ internal-library-compile \ _THEOS_CURRENT_TYPE=tweak THEOS_CURRENT_INSTANCE=WeChatTytTweakRE _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/lee/Desktop/iOSRE/TytRE/wechattyttweakre/.theos/")
set -o pipefail; (/opt/theos/bin/fakeroot.sh -p “/Users/lee/Desktop/iOSRE/TytRE/wechattyttweakre/.theos/fakeroot” -c)
set -o pipefail; (mkdir -p "/Users/lee/Desktop/iOSRE/TytRE/wechattyttweakre/.theos/
”)
set -o pipefail; ([ -d layout ] && rsync -a “layout/” “/Users/lee/Desktop/iOSRE/TytRE/wechattyttweakre/.theos/" --exclude “DEBIAN” --exclude “MTN" --exclude “.git” --exclude “.svn” --exclude “.DS_Store” --exclude ".*” || true)
Making stage for tweak WeChatTytTweakRE…
set -o pipefail; (mkdir -p "/Users/lee/Desktop/iOSRE/TytRE/wechattyttweakre/.theos/
/Library/MobileSubstrate/DynamicLibraries/”)
set -o pipefail; (cp /Users/lee/Desktop/iOSRE/TytRE/wechattyttweakre/.theos/obj/debug/WeChatTytTweakRE.dylib “/Users/lee/Desktop/iOSRE/TytRE/wechattyttweakre/.theos//Library/MobileSubstrate/DynamicLibraries/")
set -o pipefail; (if [[ ! -f “WeChatTytTweakRE.plist” && ! -f “layout//Library/MobileSubstrate/DynamicLibraries/WeChatTytTweakRE.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 WeChatTytTweakRE.plist. Refer to http://iphonedevwiki.net/index.php/Cydia_Substrate#MobileLoader.” >&2;
exit 1;
elif [[ -f “WeChatTytTweakRE.plist” ]]; then
cp WeChatTytTweakRE.plist "/Users/lee/Desktop/iOSRE/TytRE/wechattyttweakre/.theos/
/Library/MobileSubstrate/DynamicLibraries/”;
fi)
set -o pipefail; (mkdir -p “/Users/lee/Desktop/iOSRE/TytRE/wechattyttweakre/.theos//DEBIAN")
set -o pipefail; (sed -e '/[1]ersion:/d; /^$/d; $a' “/Users/lee/Desktop/iOSRE/TytRE/wechattyttweakre/control” > "/Users/lee/Desktop/iOSRE/TytRE/wechattyttweakre/.theos/
/DEBIAN/control”)
set -o pipefail; (echo “Version: 0.0.1-20+debug” >> “/Users/lee/Desktop/iOSRE/TytRE/wechattyttweakre/.theos//DEBIAN/control")
set -o pipefail; (echo “Installed-Size: 280” >> "/Users/lee/Desktop/iOSRE/TytRE/wechattyttweakre/.theos/
/DEBIAN/control”)
set -o pipefail; (COPYFILE_DISABLE=1 /opt/theos/bin/fakeroot.sh -p “/Users/lee/Desktop/iOSRE/TytRE/wechattyttweakre/.theos/fakeroot” -r dpkg-deb -Zgzip -b “/Users/lee/Desktop/iOSRE/TytRE/wechattyttweakre/.theos/_” “./packages/com.yourcompany.wechattyttweakre_0.0.1-20+debug_iphoneos-arm.deb” )
Can’t locate IO/Compress/Lzma.pm in @INC (you may need to install the IO::Compress::Lzma module) (@INC contains: /Library/Perl/5.18/darwin-thread-multi-2level /Library/Perl/5.18 /Network/Library/Perl/5.18/darwin-thread-multi-2level /Network/Library/Perl/5.18 /Library/Perl/Updates/5.18.2 /System/Library/Perl/5.18/darwin-thread-multi-2level /System/Library/Perl/5.18 /System/Library/Perl/Extras/5.18/darwin-thread-multi-2level /System/Library/Perl/Extras/5.18 .) at /opt/theos/bin/dpkg-deb line 12.
BEGIN failed–compilation aborted at /opt/theos/bin/dpkg-deb line 12.
make: *** [internal-package] Error 2
LEEdeMacBook-Pro:wechattyttweakre lee$
这个是dpkg-deb的问题吗,我是从 https://raw.githubusercontent.com/DHowett/dm.pl/master/dm.pl 下载的dm.pl 并且改名为dpkg-deb,dpkg-deb应该没什么问题
求大神给看看


  1. Vv ↩︎

这是什么鬼

试试
Homebrew 安装 dpkg,更新 Theos 到最新?

sudo cpan IO::Compress::Lzma