Skip to content
Guest Big Announcement

[Solved] Make .dylib files in Terminal

Featured Replies

Solved by akke92

  • Author

That's not your makefile :S did you make a preference bundle?

Ohh shit sorry.... Here's the Makefile

And what do you mean? How do i make a preference bundle? :p 

Sorry for being such a noob :(

include theos/makefiles/common.mk

TWEAK_NAME = minehack
minehack_FILES = Tweak.xm
minehack_FRAMEWORKS = UIKit

include $(THEOS_MAKE_PATH)/tweak.mk

after-install::
        install.exec "killall -9 SpringBoard"
  • Replies 27
  • Views 6k
  • Created
  • Last Reply

Top Posters In This Topic

Most Popular Posts

  • I don't see anything wrong since there's so errors, id you're trying to make a .deb without installing it, instead of "make", write "make package"

  • Nope, very normal

  • Wow there, you're not doing it properly. There's no point of putting the .dylib there . Go make to your terminal and CD your hack like you did. And instead of writing "make" , write "make package ins

Ohh shit sorry.... Here's the Makefile

And what do you mean? How do i make a preference bundle? :p 

Sorry for being such a noob :(

 

include theos/makefiles/common.mk

TWEAK_NAME = minehack
minehack_FILES = Tweak.xm
minehack_FRAMEWORKS = UIKit

include $(THEOS_MAKE_PATH)/tweak.mk

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

No need to make one, what iOS are you on?

  • Author

No need to make one, what iOS are you on?

Oh okey, i'm running iOS 9.3.3 on a iPhone 6s+ :)

Oh okey, i'm running iOS 9.3.3 on a iPhone 6s+ :)

Tweak.xm :

 

 

%hook AppDelegate

 

-(BOOL)application:(id)fp8 didFinishLaunchingWithOptions:(id)fp12 {

 

UIAlertView *alert = [[uIAlertView alloc] initWithTitle:@"APPNAME"

message:@" Cheat By Crypto" delegate:self cancelButtonTitle:@"Thanks!" otherButtonTitles:@"For more hacks, Click Here!", nil];

[alert show];

[alert release];

return %orig();

%new

}

 

-(void)alertView:(UIAlertView *)alertView clickedButtonAtIndex:(NSInteger)buttonIndex {

if(buttonIndex !=alertView.cancelButtonIndex)

{

[[uIApplication sharedApplication] openURL:[NSURL URLWithString:@"https://iosgods.com]];

}

}

 

%end

 

 

Makefile :

 

ARCHS = armv7 arm64

TARGET = iphone:clang:latest:latest

#CFLAGS = -fobjc-arc

#THEOS_PACKAGE_DIR_NAME = debs

 

include theos/makefiles/common.mk

 

TWEAK_NAME = fruit

minehack_FILES = Tweak.xm

minehack_FRAMEWORKS = UIKit

minehack_LDFLAGS += -Wl,-segalign,4000

CFLAGS =-w

include $(THEOS_MAKE_PATH)/tweak.mk

 

after-install::

install.exec "killall -9 SpringBoard"

 

 

Try that and compile again. For the tweak.xm just change the credits and appname to what you want.

Updated by Crypto

  • Author

Tweak.xm :

 

 

%hook AppDelegate

 

-(BOOL)application:(id)fp8 didFinishLaunchingWithOptions:(id)fp12 {

 

UIAlertView *alert = [[uIAlertView alloc] initWithTitle:@"APPNAME"

message:@" Cheat By Crypto" delegate:self cancelButtonTitle:@"Thanks!" otherButtonTitles:@"For more hacks, Click Here!", nil];

[alert show];

[alert release];

return %orig();

%new

}

 

-(void)alertView:(UIAlertView *)alertView clickedButtonAtIndex:(NSInteger)buttonIndex {

if(buttonIndex !=alertView.cancelButtonIndex)

{

[[uIApplication sharedApplication] openURL:[NSURL URLWithString:@"https://iosgods.com]];

}

}

 

%end

 

 

Makefile :

 

ARCHS = armv7 arm64

TARGET = iphone:clang:latest:latest

#CFLAGS = -fobjc-arc

#THEOS_PACKAGE_DIR_NAME = debs

 

include theos/makefiles/common.mk

 

TWEAK_NAME = fruit

minehack_FILES = Tweak.xm

minehack_FRAMEWORKS = UIKit

minehack_LDFLAGS += -Wl,-segalign,4000

CFLAGS =-w

include $(THEOS_MAKE_PATH)/tweak.mk

 

after-install::

install.exec "killall -9 SpringBoard"

 

 

Try that and compile again. For the tweak.xm just change the credits and appname to what you want.

 

I Tried it and this is what i got from the Terminal while compiling

Axels-iPhone:~/minehack root# make package install
Makefile:16: *** missing separator.  Stop.
Axels-iPhone:~/minehack root#

  • Author

 

I Tried it and this is what i got from the Terminal while compiling

Axels-iPhone:~/minehack root# make package install
Makefile:16: *** missing separator.  Stop.
Axels-iPhone:~/minehack root#

I realised what the problem was and i solved it, now it compiled without errors and after respring i tried launching the game but still no UI poped up...

This is so frustrating, been trying all day to get a simple UI to popup but looks like i have to keep trying! :(

I realised what the problem was and i solved it, now it compiled without errors and after respring i tried launching the game but still no UI poped up...

This is so frustrating, been trying all day to get a simple UI to popup but looks like i have to keep trying! :(

Oops, you gotta add :

#import <UIKit/UIKit.h>

 

On top of your tweak.xm

  • Author

Oops, you gotta add :

#import <UIKit/UIKit.h>

 

On top of your tweak.xm

Tried it, still no UI pops up after respring and upon launching of the game.. :(

Maybe it's not so weird though as i can't find a target class called AppDelegate in Flex for this game, might have to use another target class that actually exists? :p 

  • Author
  • Solution

IW5ngOb.jpg

 

Freaking finally got it to work, just as i said, as AppDelegate didn't exist in this game i found a target class that did and now it works!

Thank you so much for all your help Crypto!

<3 

Tried it, still no UI pops up after respring and upon launching of the game.. :(

Maybe it's not so weird though as i can't find a target class called AppDelegate in Flex for this game, might have to use another target class that actually exists? :p

 

Oh, everygame that I hacked had the same one :p find the right one for the game you're hacking then :)

  • Author

Oh, everygame that I hacked had the same one :p find the right one for the game you're hacking then :)

Oh i did :D Super happy to finally see some results! :) 

Oh i did :D Super happy to finally see some results! :)

 

Goodjob :) just mark my UI code as "answered" so other users can rely on it if they have the same issue as yours :)

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.