Jump to content

Theos error: Experimental shift on scalar is now forbidden


Alan_016878

8 posts in this topic

Recommended Posts

Posted

==> Preprocessing Tweak.xm…

Experimental shift on scalar is now forbidden at /private/var/theos/vendor/logos/bin/lib/Logos/Group.pm line 107, near "$args;"

Experimental shift on scalar is now forbidden at /private/var/theos/vendor/logos/bin/lib/Logos/Group.pm line 108, near "$args;"

Compilation failed in require at (eval 9) line 1.

BEGIN failed--compilation aborted at (eval 9) line 1.

 at /var/theos/bin/logos.pl line 22.

BEGIN failed--compilation aborted at /var/theos/bin/logos.pl line 22.

make[3]: *** [/var/theos/makefiles/instance/rules.mk:265: /var/mobile/test4/.theos/obj/arm64/Tweak.xm.mm] Error 255

rm /var/mobile/test4/.theos/obj/arm64/Tweak.xm.mm

==> Preprocessing Tweak.xm…

Experimental shift on scalar is now forbidden at /private/var/theos/vendor/logos/bin/lib/Logos/Group.pm line 107, near "$args;"

Experimental shift on scalar is now forbidden at /private/var/theos/vendor/logos/bin/lib/Logos/Group.pm line 108, near "$args;"

Compilation failed in require at (eval 9) line 1.

BEGIN failed--compilation aborted at (eval 9) line 1.

 at /var/theos/bin/logos.pl line 22.

BEGIN failed--compilation aborted at /var/theos/bin/logos.pl line 22.

make[3]: *** [/var/theos/makefiles/instance/rules.mk:265: /var/mobile/test4/.theos/obj/armv7/Tweak.xm.mm] Error 255

rm /var/mobile/test4/.theos/obj/armv7/Tweak.xm.mm

make[2]: *** [/var/theos/makefiles/instance/library.mk:33: /var/mobile/test4/.theos/obj/armv7/test4.dylib] Error 2

make[2]: *** Waiting for unfinished jobs....

make[2]: *** [/var/theos/makefiles/instance/library.mk:33: /var/mobile/test4/.theos/obj/arm64/test4.dylib] Error 2

make[1]: *** [/var/theos/makefiles/instance/library.mk:24: internal-library-all_] Error 2

make: *** [/var/theos/makefiles/master/rules.mk:111: test4.all.tweak.variables] Error 2

 

 

 

I used default tweak.xm in iOSGods tweak patcher v3.1

Beside,I’m using theosinstaller to install Theos.

I got error.

How can I fix it?

Thanks!!!!!!

Posted

Open $THEOS/vendor/logos/bin/lib/Logos/Group.pm with a text editor

Replace

    my $functionRetval = shift $args;

    my $functionName = shift $args;

With

 

    my $functionRetval = shift @{$args};

    my $functionName = shift @{$args};

afaik this is an issue with new versions of perl

Posted
6 hours ago, level3tjg said:

Open $THEOS/vendor/logos/bin/lib/Logos/Group.pm with a text editor

Replace

    my $functionRetval = shift $args;

    my $functionName = shift $args;

With

 

    my $functionRetval = shift @{$args};

    my $functionName = shift @{$args};

afaik this is an issue with new versions of perl

both

Thanks!!!!!!

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