Skip to content
Guest Big Announcement

i got error while make package on theos

Featured Replies

i tired to change my flex patch to deb

 

without pop up alert i can make deb

but when i write pop up code into tweak.xm

 

my pop alert code


%hook FLAAppDelegate
-(void)applicationDidBecomeActive:
(id)application {
UIAlertView*alert=[[UIAlertView alloc]
initWithTitle:@"welcome to testapphack"message:@"hacked By darkangel" delegate:nil
cancelButtonTitle:@"thanks!"otherButtonTitles:nil];
[alert show];
[alert release];
}
%end

i get this error

/var/mobile/Testapphack/theos/makefiles/targets/Darwin-arm64/iphone.mk:43: Targeting iOS 4.0 and higher is not supported with iphone-gcc. Forcing clang.
/var/mobile/Testapphack/theos/makefiles/targets/Darwin-arm64/iphone.mk:53: Deploying to iOS 3.0 while building for 6.0 will generate armv7-only binaries.
Angel-iPhone:/var/mobile/Testapphack root# make
/var/mobile/Testapphack/theos/makefiles/targets/Darwin-arm64/iphone.mk:43: Targeting iOS 4.0 and higher is not supported with iphone-gcc. Forcing clang.
/var/mobile/Testapphack/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 Testapphack...
 Linking tweak Testapphack...
Undefined symbols for architecture armv7:
  "_OBJC_CLASS_$_UIAlertView", referenced from:
      objc-class-ref in Tweak.xm.ec87c6c4.o
ld: symbol(s) not found for architecture armv7
clang-3.7: error: linker command failed with exit code 1 (use -v to see invocation)
make[2]: *** [obj/Testapphack.dylib.64873355.unsigned] Error 1
make[1]: *** [internal-library-all_] Error 2
make: *** [Testapphack.all.tweak.variables] Error 2

thanks

Updated by dark_angel1

Solved by Rook

  • Author

Add describe the "xxxxx_FRAMEWORKS = UIKit" to the Makefile.

add it on the top of makefile?

I suggest you use the template from iOSGods located in Tools section. :)

i will be trying to find it thanks

  • Author

it is my makefile code

 

i havnt anyhin like this

include theos/makefiles/common.mk

TWEAK_NAME = testapphack
fitstarhack_FILES = Tweak.xm

include $(THEOS_MAKE_PATH)/tweak.mk

after-install::
	install.exec "killall -9 SpringBoard"


Right under the xxx_FILES, see the example Makefile inside the template.

 

it is my makefile code

 

i havnt anyhin like this

include theos/makefiles/common.mk

TWEAK_NAME = fitstarhack
fitstarhack_FILES = Tweak.xm

include $(THEOS_MAKE_PATH)/tweak.mk

after-install::
	install.exec "killall -9 SpringBoard"

Create an account or sign in to comment

Featured Content

Search

Search

Configure browser push notifications

Chrome (Android)
  1. Tap the lock icon next to the address bar.
  2. Tap Permissions → Notifications.
  3. Adjust your preference.
Chrome (Desktop)
  1. Click the padlock icon in the address bar.
  2. Select Site settings.
  3. Find Notifications and adjust your preference.