Cydia 安装自己打包的App报错

自己打包的应用,通过cydia安装,有的机器会报错,有的机器又不会。请问各位大牛是我哪里打包的有问题,要怎么处理。
cydia红字提示
subprocess post-installtion script returned error exit status1
Sub-process /usr/libexec/cydia/cydo returned an error code(1)

打包日志如下:

Making all for tweak aXbNdktKladkeL…
/Applications/Xcode.app/Contents/Developer/usr/bin/make -f Makefile --no-keep-going COLOR=1
internal-library-compile
_THEOS_CURRENT_TYPE=tweak THEOS_CURRENT_INSTANCE=aXbNdktKladkeL _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/Kelphn/Desktop/runAppTweak/runAppTweak/.theos/_") set -o pipefail; (/opt/theos/bin/fakeroot.sh -p "/Users/Kelphn/Desktop/runAppTweak/runAppTweak/.theos/fakeroot" -c) set -o pipefail; (mkdir -p "/Users/Kelphn/Desktop/runAppTweak/runAppTweak/.theos/_") set -o pipefail; ([ -d layout ] && rsync -a "layout/" "/Users/Kelphn/Desktop/runAppTweak/runAppTweak/.theos/_" --exclude "DEBIAN" --exclude "_MTN" --exclude ".git" --exclude ".svn" --exclude ".DS_Store" --exclude "._*" || true) Making stage for tweak aXbNdktKladkeL… set -o pipefail; (mkdir -p "/Users/Kelphn/Desktop/runAppTweak/runAppTweak/.theos/_/Library/MobileSubstrate/DynamicLibraries/") set -o pipefail; (cp /Users/Kelphn/Desktop/runAppTweak/runAppTweak/.theos/obj/aXbNdktKladkeL.dylib "/Users/Kelphn/Desktop/runAppTweak/runAppTweak/.theos/_/Library/MobileSubstrate/DynamicLibraries/") set -o pipefail; (cp aXbNdktKladkeL.plist "/Users/Kelphn/Desktop/runAppTweak/runAppTweak/.theos/_/Library/MobileSubstrate/DynamicLibraries/") set -o pipefail; (mkdir -p "/Users/Kelphn/Desktop/runAppTweak/runAppTweak/.theos/_/DEBIAN") set -o pipefail; ([ -d "/Users/Kelphn/Desktop/runAppTweak/runAppTweak/layout/DEBIAN" ] && rsync -a "/Users/Kelphn/Desktop/runAppTweak/runAppTweak/layout/DEBIAN/" "/Users/Kelphn/Desktop/runAppTweak/runAppTweak/.theos/_/DEBIAN" --exclude "_MTN" --exclude ".git" --exclude ".svn" --exclude ".DS_Store" --exclude "._*" || true) set -o pipefail; (sed -e 's/\${LIBSWIFT}/com.modmyi.libswift4 (>= 4.2.1)/g; s/\${LIBSWIFT_VERSION}/4.2.1/g; /^[Vv]ersion:/d; /^$/d; $a\' "/Users/Kelphn/Desktop/runAppTweak/runAppTweak/control" > "/Users/Kelphn/Desktop/runAppTweak/runAppTweak/.theos/_/DEBIAN/control") set -o pipefail; (echo "Version: 10.0.1-4" >> "/Users/Kelphn/Desktop/runAppTweak/runAppTweak/.theos/_/DEBIAN/control") set -o pipefail; (echo "Installed-Size: 12616" >> "/Users/Kelphn/Desktop/runAppTweak/runAppTweak/.theos/_/DEBIAN/control") set -o pipefail; (COPYFILE_DISABLE=1 /opt/theos/bin/fakeroot.sh -p "/Users/Kelphn/Desktop/runAppTweak/runAppTweak/.theos/fakeroot" -r dm.pl -Zgzip -z0 -b "/Users/Kelphn/Desktop/runAppTweak/runAppTweak/.theos/_" "./packages/com.sk.runAppTweak-4_iphoneos-arm.deb") dm.pl: building package com.sk.runAppTweak-arm’ in `./packages/com.sk.runAppTweak_10.0.1-4_iphoneos-arm.deb’

postinst里写的啥

chown -R root:wheel /Applications/runApp.app

1 个赞