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