Jump to content

14 posts in this topic

Recommended Posts

Posted

I’m using an iPhone 8+, 14.1on Taurine

iirc I ended up following this tutorial

 

I hit a Foundation Module error recently but got to fix it if that can help somehow

Posted

Can you try compiling with a default theos template? I'm wondering the issue may be with the Tweak Patcher you're using as that is quite old.

  • Thanks 1
Posted
1 hour ago, Rook said:

Can you try compiling with a default theos template? I'm wondering the issue may be with the Tweak Patcher you're using as that is quite old.

This would be the result using the regular Tweak option

Spoiler


Z4R0S:~/projects/error404 mobile% make clean package messages=yes
(printf "\e[0;3%im==> \e[1;39m%s…\e[m\n" 6 "Cleaning"); set -o pipefail; (rm -rf "/var/mobile/projects/error404/.theos/obj")
==> Cleaning…
set -o pipefail; (rm -rf "/var/mobile/projects/error404/.theos/_")
> Making all for tweak error404…
make -f Makefile --no-keep-going COLOR=1 \
        internal-library-compile \
        _THEOS_CURRENT_TYPE=tweak THEOS_CURRENT_INSTANCE=error404 _THEOS_CURRENT_OPERATION=compile \
        THEOS_BUILD_DIR="." _THEOS_MAKE_PARALLEL=yes
make -f Makefile --no-print-directory --no-keep-going internal-tweak-compile _THEOS_CURRENT_TYPE="tweak" THEOS_CURRENT_INSTANCE="error404" _THEOS_CURRENT_OPERATION="compile" THEOS_BUILD_DIR="." THEOS_CURRENT_ARCH="arm64"
set -o pipefail; (mkdir -p /var/mobile/projects/error404/.theos/obj/debug/arm64/)
(printf "\e[0;3%im==> \e[1;39m%s…\e[m\n" 1 "Preprocessing Tweak.xm"); set -o pipefail; (/var/theos/bin/logos.pl -c warnings=error -c generator=MobileSubstrate    Tweak.xm > /var/mobile/projects/error404/.theos/obj/debug/arm64/Tweak.xm.mm)
==> Preprocessing Tweak.xm…
set -o pipefail; (mkdir -p /var/mobile/projects/error404/.theos/obj/debug/arm64/)
(printf "\e[0;3%im==> \e[1;39m%s…\e[m\n" 2 "Compiling Tweak.xm (arm64)"); set -o pipefail; (clang++ -x objective-c++ -c -I"/var/mobile/projects/error404" -I/var/theos/include -I/var/theos/vendor/include -I/var/theos/include/_fallback -include /var/theos/Prefix.pch -MT /var/mobile/projects/error404/.theos/obj/debug/arm64/Tweak.xm.0d6f88a6.o -MMD -MP -MF "/var/mobile/projects/error404/.theos/obj/debug/arm64/Tweak.xm.0d6f88a6.Td" -fcolor-diagnostics -DTARGET_IPHONE=1 -O0 -Wall -ggdb -Werror  -isysroot "/var/theos/sdks/iPhoneOS12.2.sdk" -miphoneos-version-min=7.0   -fobjc-arc -DDEBUG -O0  -DTHEOS_INSTANCE_NAME="\"error404\"" -fmodules -fcxx-modules -fmodule-name=error404 -fbuild-session-file=/var/mobile/projects/error404/.theos/build_session -fmodules-prune-after=345600 -fmodules-prune-interval=86400 -fmodules-validate-once-per-build-session  -arch arm64       -stdlib=libc++        /var/mobile/projects/error404/.theos/obj/debug/arm64/Tweak.xm.mm -o /var/mobile/projects/error404/.theos/obj/debug/arm64/Tweak.xm.0d6f88a6.o)
==> Compiling Tweak.xm (arm64)…
set -o pipefail; (mkdir -p /var/mobile/projects/error404/.theos/obj/debug/arm64)
(printf "\e[0;3%im==> \e[1;39m%s…\e[m\n" 3 "Linking tweak error404 (arm64)"); set -o pipefail; (clang++ -fcolor-diagnostics -L/var/theos/lib -ggdb -L/var/theos/vendor/lib -lobjc -framework Foundation -framework CoreFoundation -ObjC++ -fobjc-exceptions -fobjc-call-cxx-cdtors              -F/var/theos/vendor/lib -framework CydiaSubstrate -dynamiclib -install_name "/Library/MobileSubstrate/DynamicLibraries/error404.dylib"  -isysroot "/var/theos/sdks/iPhoneOS12.2.sdk" -miphoneos-version-min=7.0  -multiply_defined suppress -stdlib=libc++ -lc++  -arch arm64  -O0 -o "/var/mobile/projects/error404/.theos/obj/debug/arm64/error404.dylib" /var/mobile/projects/error404/.theos/obj/debug/arm64/Tweak.xm.0d6f88a6.o)
==> Linking tweak error404 (arm64)…
rm /var/mobile/projects/error404/.theos/obj/debug/arm64/Tweak.xm.mm
make[2]: Entering directory '/private/var/mobile/projects/error404'
(printf "\e[0;3%im==> \e[1;39m%s…\e[m\n" 4 "Merging tweak error404"); set -o pipefail; (lipo -arch arm64 /var/mobile/projects/error404/.theos/obj/debug/arm64/error404.dylib -create -output "/var/mobile/projects/error404/.theos/obj/debug/error404.dylib.af633153.unsigned")
==> Merging tweak error404…
make[2]: Leaving directory '/private/var/mobile/projects/error404'
make[2]: Entering directory '/private/var/mobile/projects/error404'
(printf "\e[0;3%im==> \e[1;39m%s…\e[m\n" 4 "Signing error404"); set -o pipefail; (CODESIGN_ALLOCATE=codesign_allocate  ldid -S "/var/mobile/projects/error404/.theos/obj/debug/error404.dylib.af633153.unsigned" && mv "/var/mobile/projects/error404/.theos/obj/debug/error404.dylib.af633153.unsigned" "/var/mobile/projects/error404/.theos/obj/debug/error404.dylib")
==> Signing error404…
make[2]: Leaving directory '/private/var/mobile/projects/error404'
set -o pipefail; (rm -rf "/var/mobile/projects/error404/.theos/_")
set -o pipefail; (/var/theos/bin/fakeroot.sh -p "/var/mobile/projects/error404/.theos/fakeroot" -c)
set -o pipefail; (mkdir -p "/var/mobile/projects/error404/.theos/_")
set -o pipefail; ([ -d layout ] && rsync -a "layout/" "/var/mobile/projects/error404/.theos/_" --exclude "DEBIAN" --exclude "_MTN" --exclude ".git" --exclude ".svn" --exclude ".DS_Store" --exclude "._*" || true)
> Making stage for tweak error404…
make[1]: Entering directory '/private/var/mobile/projects/error404'
set -o pipefail; (mkdir -p "/var/mobile/projects/error404/.theos/_/Library/MobileSubstrate/DynamicLibraries/")
set -o pipefail; (cp /var/mobile/projects/error404/.theos/obj/debug/error404.dylib "/var/mobile/projects/error404/.theos/_/Library/MobileSubstrate/DynamicLibraries/")
make[1]: Leaving directory '/private/var/mobile/projects/error404'
make[1]: Entering directory '/private/var/mobile/projects/error404'
set -o pipefail; (cp error404.plist "/var/mobile/projects/error404/.theos/_/Library/MobileSubstrate/DynamicLibraries/")
make[1]: Leaving directory '/private/var/mobile/projects/error404'
set -o pipefail; (mkdir -p "/var/mobile/projects/error404/.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/error404/control" > "/var/mobile/projects/error404/.theos/_/DEBIAN/control")
set -o pipefail; (echo "Version: 0.0.1-1+debug" >> "/var/mobile/projects/error404/.theos/_/DEBIAN/control")
set -o pipefail; (echo "Installed-Size: 72" >> "/var/mobile/projects/error404/.theos/_/DEBIAN/control")
set -o pipefail; (COPYFILE_DISABLE=1 /var/theos/bin/fakeroot.sh -p "/var/mobile/projects/error404/.theos/fakeroot" -r dm.pl -Zlzma -z0 -b "/var/mobile/projects/error404/.theos/_" "./packages/com.yourcompany.error404_0.0.1-1+debug_iphoneos-arm.deb")
dm.pl: building package `com.yourcompany.error404:iphoneos-arm' in `./packages/com.yourcompany.error404_0.0.1-1+debug_iphoneos-arm.deb'
 

 

Posted
22 minutes ago, ZAROS said:

This would be the result using the regular Tweak option

  Hide contents


Z4R0S:~/projects/error404 mobile% make clean package messages=yes
(printf "\e[0;3%im==> \e[1;39m%s…\e[m\n" 6 "Cleaning"); set -o pipefail; (rm -rf "/var/mobile/projects/error404/.theos/obj")
==> Cleaning…
set -o pipefail; (rm -rf "/var/mobile/projects/error404/.theos/_")
> Making all for tweak error404…
make -f Makefile --no-keep-going COLOR=1 \
        internal-library-compile \
        _THEOS_CURRENT_TYPE=tweak THEOS_CURRENT_INSTANCE=error404 _THEOS_CURRENT_OPERATION=compile \
        THEOS_BUILD_DIR="." _THEOS_MAKE_PARALLEL=yes
make -f Makefile --no-print-directory --no-keep-going internal-tweak-compile _THEOS_CURRENT_TYPE="tweak" THEOS_CURRENT_INSTANCE="error404" _THEOS_CURRENT_OPERATION="compile" THEOS_BUILD_DIR="." THEOS_CURRENT_ARCH="arm64"
set -o pipefail; (mkdir -p /var/mobile/projects/error404/.theos/obj/debug/arm64/)
(printf "\e[0;3%im==> \e[1;39m%s…\e[m\n" 1 "Preprocessing Tweak.xm"); set -o pipefail; (/var/theos/bin/logos.pl -c warnings=error -c generator=MobileSubstrate    Tweak.xm > /var/mobile/projects/error404/.theos/obj/debug/arm64/Tweak.xm.mm)
==> Preprocessing Tweak.xm…
set -o pipefail; (mkdir -p /var/mobile/projects/error404/.theos/obj/debug/arm64/)
(printf "\e[0;3%im==> \e[1;39m%s…\e[m\n" 2 "Compiling Tweak.xm (arm64)"); set -o pipefail; (clang++ -x objective-c++ -c -I"/var/mobile/projects/error404" -I/var/theos/include -I/var/theos/vendor/include -I/var/theos/include/_fallback -include /var/theos/Prefix.pch -MT /var/mobile/projects/error404/.theos/obj/debug/arm64/Tweak.xm.0d6f88a6.o -MMD -MP -MF "/var/mobile/projects/error404/.theos/obj/debug/arm64/Tweak.xm.0d6f88a6.Td" -fcolor-diagnostics -DTARGET_IPHONE=1 -O0 -Wall -ggdb -Werror  -isysroot "/var/theos/sdks/iPhoneOS12.2.sdk" -miphoneos-version-min=7.0   -fobjc-arc -DDEBUG -O0  -DTHEOS_INSTANCE_NAME="\"error404\"" -fmodules -fcxx-modules -fmodule-name=error404 -fbuild-session-file=/var/mobile/projects/error404/.theos/build_session -fmodules-prune-after=345600 -fmodules-prune-interval=86400 -fmodules-validate-once-per-build-session  -arch arm64       -stdlib=libc++        /var/mobile/projects/error404/.theos/obj/debug/arm64/Tweak.xm.mm -o /var/mobile/projects/error404/.theos/obj/debug/arm64/Tweak.xm.0d6f88a6.o)
==> Compiling Tweak.xm (arm64)…
set -o pipefail; (mkdir -p /var/mobile/projects/error404/.theos/obj/debug/arm64)
(printf "\e[0;3%im==> \e[1;39m%s…\e[m\n" 3 "Linking tweak error404 (arm64)"); set -o pipefail; (clang++ -fcolor-diagnostics -L/var/theos/lib -ggdb -L/var/theos/vendor/lib -lobjc -framework Foundation -framework CoreFoundation -ObjC++ -fobjc-exceptions -fobjc-call-cxx-cdtors              -F/var/theos/vendor/lib -framework CydiaSubstrate -dynamiclib -install_name "/Library/MobileSubstrate/DynamicLibraries/error404.dylib"  -isysroot "/var/theos/sdks/iPhoneOS12.2.sdk" -miphoneos-version-min=7.0  -multiply_defined suppress -stdlib=libc++ -lc++  -arch arm64  -O0 -o "/var/mobile/projects/error404/.theos/obj/debug/arm64/error404.dylib" /var/mobile/projects/error404/.theos/obj/debug/arm64/Tweak.xm.0d6f88a6.o)
==> Linking tweak error404 (arm64)…
rm /var/mobile/projects/error404/.theos/obj/debug/arm64/Tweak.xm.mm
make[2]: Entering directory '/private/var/mobile/projects/error404'
(printf "\e[0;3%im==> \e[1;39m%s…\e[m\n" 4 "Merging tweak error404"); set -o pipefail; (lipo -arch arm64 /var/mobile/projects/error404/.theos/obj/debug/arm64/error404.dylib -create -output "/var/mobile/projects/error404/.theos/obj/debug/error404.dylib.af633153.unsigned")
==> Merging tweak error404…
make[2]: Leaving directory '/private/var/mobile/projects/error404'
make[2]: Entering directory '/private/var/mobile/projects/error404'
(printf "\e[0;3%im==> \e[1;39m%s…\e[m\n" 4 "Signing error404"); set -o pipefail; (CODESIGN_ALLOCATE=codesign_allocate  ldid -S "/var/mobile/projects/error404/.theos/obj/debug/error404.dylib.af633153.unsigned" && mv "/var/mobile/projects/error404/.theos/obj/debug/error404.dylib.af633153.unsigned" "/var/mobile/projects/error404/.theos/obj/debug/error404.dylib")
==> Signing error404…
make[2]: Leaving directory '/private/var/mobile/projects/error404'
set -o pipefail; (rm -rf "/var/mobile/projects/error404/.theos/_")
set -o pipefail; (/var/theos/bin/fakeroot.sh -p "/var/mobile/projects/error404/.theos/fakeroot" -c)
set -o pipefail; (mkdir -p "/var/mobile/projects/error404/.theos/_")
set -o pipefail; ([ -d layout ] && rsync -a "layout/" "/var/mobile/projects/error404/.theos/_" --exclude "DEBIAN" --exclude "_MTN" --exclude ".git" --exclude ".svn" --exclude ".DS_Store" --exclude "._*" || true)
> Making stage for tweak error404…
make[1]: Entering directory '/private/var/mobile/projects/error404'
set -o pipefail; (mkdir -p "/var/mobile/projects/error404/.theos/_/Library/MobileSubstrate/DynamicLibraries/")
set -o pipefail; (cp /var/mobile/projects/error404/.theos/obj/debug/error404.dylib "/var/mobile/projects/error404/.theos/_/Library/MobileSubstrate/DynamicLibraries/")
make[1]: Leaving directory '/private/var/mobile/projects/error404'
make[1]: Entering directory '/private/var/mobile/projects/error404'
set -o pipefail; (cp error404.plist "/var/mobile/projects/error404/.theos/_/Library/MobileSubstrate/DynamicLibraries/")
make[1]: Leaving directory '/private/var/mobile/projects/error404'
set -o pipefail; (mkdir -p "/var/mobile/projects/error404/.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/error404/control" > "/var/mobile/projects/error404/.theos/_/DEBIAN/control")
set -o pipefail; (echo "Version: 0.0.1-1+debug" >> "/var/mobile/projects/error404/.theos/_/DEBIAN/control")
set -o pipefail; (echo "Installed-Size: 72" >> "/var/mobile/projects/error404/.theos/_/DEBIAN/control")
set -o pipefail; (COPYFILE_DISABLE=1 /var/theos/bin/fakeroot.sh -p "/var/mobile/projects/error404/.theos/fakeroot" -r dm.pl -Zlzma -z0 -b "/var/mobile/projects/error404/.theos/_" "./packages/com.yourcompany.error404_0.0.1-1+debug_iphoneos-arm.deb")
dm.pl: building package `com.yourcompany.error404:iphoneos-arm' in `./packages/com.yourcompany.error404_0.0.1-1+debug_iphoneos-arm.deb'
 

 

So it is an issue with the old template.

 You should probably use @Ted2’s mod menu template for now. :)

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
×
  • 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