qwertyuiop1379 / Tweaks

All of my open sourced tweaks
GNU General Public License v3.0
103 stars 41 forks source link

PowerDown signing error #3

Open frakman1 opened 4 years ago

frakman1 commented 4 years ago

Using the theos docker

# make package
> Making all in Tweak…
> Making all for tweak PowerDown…
make[3]: Nothing to be done for 'internal-library-compile'.
> Making all in PreferenceBundle…
> Making all for bundle PowerDown…
==> Copying resource directories into the bundle wrapper…
==> Compiling PWRDNRootListController.m (arm64)…
==> Linking bundle PowerDown (arm64)…
==> Merging bundle PowerDown…
==> Signing PowerDown…
> Making all in Subprocess…
> Making all for tool _ldrestart…
==> Compiling main.m (arm64)…
==> Linking tool _ldrestart (arm64)…
==> Merging tool _ldrestart…
==> Signing _ldrestart…
minimal/mapping.h(54): _assert(false); errno=2
terminate called after throwing an instance of 'char const*'
bash: line 1: 13043 Aborted                 CODESIGN_ALLOCATE=/opt/theos/toolchain/linux/iphone/bin/arm64-apple-darwin14-codesign_allocate /opt/theos/toolchain/linux/iphone/bin/ldid -S../../platform.plist "/root/projects/Tweaks/powerdown/.theos/obj/debug/_ldrestart.c3816520.unsigned"
/opt/theos/makefiles/instance/tool.mk:19: recipe for target '/root/projects/Tweaks/powerdown/.theos/obj/debug/_ldrestart' failed
make[3]: *** [/root/projects/Tweaks/powerdown/.theos/obj/debug/_ldrestart] Error 134
rm /root/projects/Tweaks/powerdown/.theos/obj/debug/_ldrestart.c3816520.unsigned
/opt/theos/makefiles/instance/tool.mk:11: recipe for target 'internal-tool-all_' failed
make[2]: *** [internal-tool-all_] Error 2
/opt/theos/makefiles/master/rules.mk:111: recipe for target '_ldrestart.all.tool.variables' failed
make[1]: *** [_ldrestart.all.tool.variables] Error 2
/opt/theos/makefiles/master/aggregate.mk:12: recipe for target 'internal-all' failed
make: *** [internal-all] Error 2
root@8c04e9a4e01c:~/projects/Tweaks/powerdown#

I suspect it has something to do with -S../../platform.plist as I can't find that file anywhere. I also don't know where/how that command line syntax is formed so I can change it. Any ideas?

qwertyuiop1379 commented 4 years ago

Hey sorry this is so late, I never get notifications or anything about issues. If you are still trying to solve the issue, it's because that file doesn't exist on your system. You can try removing the codesign line in the makefile, but it might cause ldrestart to stop working.