Jump to content

Astronaut

Senior Member
  • Posts

    163
  • Joined

  • Last visited

Everything posted by Astronaut

  1. I have also modified my Makefile and fixed any errors in Tweak.xm: My new Makefile: export ARCHS = armv7 armv7s arm64 export TARGET = iphone:clang:8.1:8.1 export SDKVERSION=8.1 include theos/makefiles/common.mk TWEAK_NAME = NoAdsForN3 NoAdsForN3_FILES = Tweak.xm include $(THEOS_MAKE_PATH)/tweak.mk after-install:: install.exec "killall -9 SpringBoard" I now get this error when I run "make package": iPhone-7:/var/mobile/Projects/NoAdsForN3 root# make p ackage Making all for tweak NoAdsForN3... /bin/sh: -c: line 0: syntax error near unexpected token `|' /bin/sh: -c: line 0: `echo "-x CODESIGN_ALLOCATE=codesign_allocate ldid -S" | | cut -c1-8' /bin/sh: -c: line 0: syntax error near unexpected token `|' /bin/sh: -c: line 0: `echo "-DTARGET_IPHONE=1 -O2 -I/var/mobile/Projects/NoAdsForN3/theos/include -include /var/mobile/Projects/NoAdsForN3/theos/Prefix.pch -Wall -Werror -isysroot "/var/mobile/Projects/NoAdsForN3/theos/sdks/iPhoneOS8.1.sdk" -arch armv7 -arch armv7s -arch arm64 -D__IPHONE_OS_VERSION_MIN_REQUIRED=__IPHONE_8_1 -miphoneos-version-min=8.1 -I/usr/include -c warnings=error " | | cut -c1-8' /bin/sh: -c: line 0: syntax error near unexpected token `|' /bin/sh: -c: line 0: `echo "-x CODESIGN_ALLOCATE=codesign_allocate ldid -S" | | cut -c1-8' make[2]: Nothing to be done for `internal-library-compile'. Making stage for tweak NoAdsForN3... /bin/sh: -c: line 0: syntax error near unexpected token `|' /bin/sh: -c: line 0: `echo "-x CODESIGN_ALLOCATE=codesign_allocate ldid -S" | | cut -c1-8' du: cannot access `DEBIAN': No such file or directory make: *** [internal-package] Error 133
  2. Alright, I put in the "%hook" but I still get this message: theos/makefiles/common.mk:103: *** You did not specify a target, and the "" platform does not define a default target. Stop.
  3. This is my tweak.xm. I'm also using Flex to help with the tweak. I don't know if the last two are correct. Tweak.xm: %ReachabilityGLAds -(bool)startnotifier { return false; } %end %GLAdBanner -(id)init { return NULL; } %end %GLOfflineAdFullScreenAds -(id)getAllEmbeddedFullScreenAds { return NULL; } %end
  4. I get this problem every time I run "make package" in Putty or MTerminal. I am new to this btw. theos/makefiles/common.mk:103: *** You did not specify a target, and the "" platform does not define a default target. Stop. I am on iOS 9.3.3 on an iPhone 5S and have Theos, SDKs iPhone 7.0, 8.1, 9.0 and 9.3 installed. My Makefile: include theos/makefiles/common.mk TWEAK_NAME = NoAdsForN3 NoAdsForN3_FILES = Tweak.xm include $(THEOS_MAKE_PATH)/tweak.mk after-install:: install.exec "killall -9 SpringBoard" Also when I type this "export TARGET = iphone:clang" into the Makefile and run "make package", this comes up: iPhone-7:/var/mobile/Projects/NoAdsForN3 root# make package /var/mobile/Projects/NoAdsForN3/theos/makefiles/targets/Darwin-arm64/iphone.mk:53: Deploying to iOS 3.0 while building for 6.0 will generate armv7-only binaries. Making all for tweak NoAdsForN3... /bin/sh: -c: line 0: syntax error near unexpected token `|' /bin/sh: -c: line 0: `echo "-x CODESIGN_ALLOCATE=codesign_allocate ldid -S" | | cut -c1-8' /bin/sh: -c: line 0: syntax error near unexpected token `|' /bin/sh: -c: line 0: `echo "-DTARGET_IPHONE=1 -O2 -I/var/mobile/Projects/NoAdsForN3/theos/include -include /var/mobile/Projects/NoAdsForN3/theos/Prefix.pch -Wall -Werror -isysroot "/var/mobile/Projects/NoAdsForN3/theos/sdks/iPhoneOS9.3.sdk" -arch arm7 -arch arm64 -D__IPHONE_OS_VERSION_MIN_REQUIRED=__IPHONE_3_0 -miphoneos-version-min=3.0 -I/usr/include -c warnings=error " | | cut -c1-8' /bin/sh: -c: line 0: syntax error near unexpected token `|' /bin/sh: -c: line 0: `echo "-x CODESIGN_ALLOCATE=codesign_allocate ldid -S" | | cut -c1-8' Preprocessing Tweak.xm... Constants from lexical variables potentially modified elsewhere are deprecated at /private/var/theos/bin/lib/aliased.pm line 42. Constants from lexical variables potentially modified elsewhere are deprecated at /private/var/theos/bin/lib/aliased.pm line 42. Constants from lexical variables potentially modified elsewhere are deprecated at /private/var/theos/bin/lib/aliased.pm line 42. Constants from lexical variables potentially modified elsewhere are deprecated at /private/var/theos/bin/lib/aliased.pm line 42. Constants from lexical variables potentially modified elsewhere are deprecated at /private/var/theos/bin/lib/aliased.pm line 42. Constants from lexical variables potentially modified elsewhere are deprecated at /private/var/theos/bin/lib/aliased.pm line 42. Constants from lexical variables potentially modified elsewhere are deprecated at /private/var/theos/bin/lib/aliased.pm line 42. Constants from lexical variables potentially modified elsewhere are deprecated at /private/var/theos/bin/lib/aliased.pm line 42. Tweak.xm:5: error: dangling %end make[2]: *** [obj/iphone/Tweak.xm..o] Error 255 make[1]: *** [internal-library-all_] Error 2 make: *** [NoAdsForN3.all.tweak.variables] Error 2" I have also read somewhere on here iOSGods.com to change "Darwin-arm.mk" to "Darwin-arm.mk64" and the folder "Darwin-arm" to "Darwin-arm64" I have done so but it does not fix my problem. I do not know what to do. Help please
×
  • 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