Jump to content

i got error while make package on theos


Go to solution Solved by Rook,

7 posts in this topic

Recommended Posts

Posted (edited)

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
Posted

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

Posted

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

Posted

add it on the top of makefile?

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

Posted

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"

  • Solution
Posted

include theos/makefiles/common.mk

 

TWEAK_NAME = fitstarhack

fitstarhack_FILES = Tweak.xm

fitstarhack_FRAMEWORKS = UIKit

 

include $(THEOS_MAKE_PATH)/tweak.mk

 

after-install::

install.exec "killall -9 SpringBoard"

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