Skip to content
Guest Big Announcement

[Solved] Make .dylib files in Terminal

Featured Replies

Solved by akke92

  • Author

Which probably means you're not linking correctly :p

 

Show me your tweak.xm and you makefile, i'll fix it

Not sure what linking means as i'm very new at this but :p

 

Sure, here they are!

 

Tweak.xm

%hook PineGameDelegate
-(void)applicationDidBecomeActive:(id)argument {
UIAlertView *alert = [[UIAlertView alloc] initWithTitle:@"This is the Title" message:@"This is the Message" delegate:nil cancelButtonTitle:@"This is the Button Text" otherButtonTitles:nil];
[alert show];
[alert release];
}
%end

minehack.plist

<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE plist PUBLIC "-//Apple//DTD PLIST 1.0//EN" "http://www.apple.com/DTDs/PropertyList-1.0.dtd">
<plist version="1.0">
<dict>
<key>Filter</key>
<dict>
<key>Bundles</key>
<array>
<string>DungeonDigger.PineEntertainment.Com</string>
</array>
</dict>
</dict>
</plist>

Updated by akke92

  • Replies 27
  • Views 5.9k
  • 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

Not sure what linking means as i'm very new at this but :p

 

Sure, here they are!

 

Tweak.xm

"

%hook PineGameDelegate

-(void)applicationDidBecomeActive:(id)argument {UIAlertView *alert = [[UIAlertView alloc] initWithTitle:@"This is the Title" message:@"This is the Message" delegate:nil cancelButtonTitle:@"This is the Button Text" otherButtonTitles:nil];[alert show];[alert release];}%end

"

 

minehack.plist

"

<?xml version="1.0" encoding="UTF-8"?>

<!DOCTYPE plist PUBLIC "-//Apple//DTD PLIST 1.0//EN" "http://www.apple.com/DTDs/PropertyList-1.0.dtd">

<plist version="1.0">

<dict>

<key>Filter</key>

<dict>

<key>Bundles</key>

<array>

<string>DungeonDigger.PineEntertainment.Com</string>

</array>

</dict>

</dict>

</plist>

"

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

  • 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"

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 

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.