Jump to content

Astronaut

Senior Member
  • Posts

    163
  • Joined

  • Last visited

Everything posted by Astronaut

  1. 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.
  2. 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
  3. 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