Jump to content

unable to package


syto203

3 posts in this topic

Recommended Posts

Posted

theos keeps naming the staging directory as "_" (underscore) and later complaining it's "invalid argument" or symbol.

where do fix that?

latest error:

/var/theos/mod/jailed/bin/ipa.sh: line 55: /usr/libexec/PlistBuddy: No such file or directory
error: install_name_tool: can't map file: /var/root/test/.theos/_/Payload/BattleheartLegacy.app/ (Invalid argument)
/var/theos/mod/jailed/bin/ipa.sh: line 60: /var/theos/mod/jailed/bin/insert_dylib: Bad CPU type in executable
==> Error: Failed to inject test.dylib into BattleheartLegacy.app
make: *** [/var/theos/mod/jailed/package/ipa.mk:11: internal-package] Error 1

even packaging a tweak causes the same error and i have to manually package it every time.

edit:

fresh theos and same results

> Making stage for tweak BHLegacyMM…
make[1]: Entering directory '/private/var/mobile/projects/bhlegacymm'
set -o pipefail; (mkdir -p "/var/mobile/projects/bhlegacymm/.theos/_/Library/MobileSubstrate/DynamicLibraries/")
set -o pipefail; (cp /var/mobile/projects/bhlegacymm/.theos/obj/debug/BHLegacyMM.dylib "/var/mobile/projects/bhlegacymm/.theos/_/Library/MobileSubstrate/DynamicLibraries/")
make[1]: Leaving directory '/private/var/mobile/projects/bhlegacymm'
make[1]: Entering directory '/private/var/mobile/projects/bhlegacymm'
set -o pipefail; (cp BHLegacyMM.plist "/var/mobile/projects/bhlegacymm/.theos/_/Library/MobileSubstrate/DynamicLibraries/")
make[1]: Leaving directory '/private/var/mobile/projects/bhlegacymm'
set -o pipefail; (mkdir -p "/var/mobile/projects/bhlegacymm/.theos/_/DEBIAN")
set -o pipefail; (sed -e 's/\${LIBSWIFT}/com.modmyi.libswift4 (>= 4.0.3)/g; s/\${LIBSWIFT_VERSION}/4.0.3/g; /^[Vv]ersion:/d; /^$/d; $a\' "/var/mobile/projects/bhlegacymm/control" > "/var/mobile/projects/bhlegacymm/.theos/_/DEBIAN/control")
set -o pipefail; (echo "Version: 1.3.1-4+debug" >> "/var/mobile/projects/bhlegacymm/.theos/_/DEBIAN/control")
set -o pipefail; (echo "Installed-Size: 192" >> "/var/mobile/projects/bhlegacymm/.theos/_/DEBIAN/control")
set -o pipefail; (COPYFILE_DISABLE=1 /var/theos/bin/fakeroot.sh -p "/var/mobile/projects/bhlegacymm/.theos/fakeroot" -r dm.pl -Zlzma -z1 -b "/var/mobile/projects/bhlegacymm/.theos/_" "./debs/syto203.BattleheartLegacy.MM_1.3.1-4+debug_iphoneos-arm.deb")
ERROR: package name has characters that aren't lowercase alphanums or '-+.'.
make: *** [/var/theos/makefiles/package/deb.mk:52: internal-package] Error 255

 

Posted
12 hours ago, syto203 said:

F*CK ME the log is saying it and i only focused on the underscore. "lowercase alpanums".

You can ignore that by editing the dm.pl with a text editor and commenting out the line which tells you to use lowercase alphanumerics. I don’t know why they force that, haven’t had an issue with the names being funky.

Archived

This topic is now archived and is closed to further replies.

×
  • Create New...

Important Information

We would like to place cookies on your device to help make this website better. The website cannot give you the best user experience without cookies. You can accept or decline our cookies. You may also adjust your cookie settings. Privacy Policy - Guidelines