Jump to content

[Solved] Make .dylib files in Terminal


Go to solution Solved by akke92,

27 posts in this topic

Recommended Posts

Posted (edited)

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
Posted

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?

Posted

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

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?

Posted (edited)

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
Posted

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#

Posted

 

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! :(

Posted

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

Posted

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

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
  • Our picks

    • Heroes vs. Hordes: Survivor v7.6.0 [ +15 Cheats ] Currency Max
      Modded/Hacked App: Heroes vs. Hordes: Survivor By Swift Games GmbH
      Bundle ID: com.swiftgames.roguelikesurvival
      iTunes Store Link: https://apps.apple.com/us/app/heroes-vs-hordes-survivor/id1608898173?uo=4

       
      Hack Features

      - Currency

      - Resource

      - Gold Unlimited [ Bonus Wave ]

      - Ch Unlocked [ Play All Off ]

      - Always Last Wave

      - Talents Cost 0

      - Hero DMG Only

      - HP & DMG [ Just Equip & Unequip ]

      - Enemy Freeze

      - Enemy ATK NO

       
      For Non-Jailbroken & No Jailbreak required hacks: https://iosgods.com/forum/79-no-jailbreak-section/
      Modded Android APK(s): https://iosgods.com/forum/68-android-section/
        • Like
      • 124 replies
    • Heroes vs. Hordes: Survivor v7.6.0 [ +15 Jailed ] Currency Max
      Modded/Hacked App: Heroes vs. Hordes: Survivor By Swift Games GmbH
      Bundle ID: com.swiftgames.roguelikesurvival
      iTunes Store Link: https://apps.apple.com/us/app/heroes-vs-hordes-survivor/id1608898173?uo=4

       

       

      Mod Requirements

      - Non-Jailbroken/Jailed or Jailbroken iPhone or iPad.
      - Sideloadly or alternatives.
      - Computer running Windows/macOS/Linux with iTunes installed.

       

      Hack Features

      - Currency

      - Resource

      - Gold Unlimited [ Bonus Wave ]

      - Ch Unlocked [ Play All Off ]

      - Always Last Wave

      - Talents Cost 0

      - Hero DMG Only

      - HP & DMG [ Just Equip & Unequip ]

      - Enemy Freeze

      - Enemy ATK NO


      Jailbreak required iOS hacks: https://iosgods.com/forum/5-game-cheats-hack-requests/
      Modded Android APKs: https://iosgods.com/forum/68-android-section/

       

      iOS Hack Download IPA Link


      Hidden Content

      Download via the iOSGods App
      • 156 replies
    • My Lovely Planet Puzzle Match3 v2.8.0 [ +3 Jailed ] Auto Win
      Modded/Hacked App: My Lovely Planet Puzzle Match3 By Imagine
      Bundle ID: com.mylovelyplanet.mylovelyforests
      App Store Link: https://apps.apple.com/us/app/my-lovely-planet-puzzle-match3/id6473546315?uo=4


      🤩 Hack Features

      - Auto Win
      - Coins
      - Life
      • 10 replies
    • My Lovely Planet Puzzle Match3 v2.8.0 [ +3 Cheats ] Auto Win
      Modded/Hacked App: My Lovely Planet Puzzle Match3 By Imagine
      Bundle ID: com.mylovelyplanet.mylovelyforests
      App Store Link: https://apps.apple.com/us/app/my-lovely-planet-puzzle-match3/id6473546315?uo=4


      🤩 Hack Features

      - Auto Win
      - Coins
      - Life
      • 11 replies
    • Pop Island v1.5.1 [ +1 Cheats ] Coins Max
      Modded/Hacked App: Pop Island By HISTAR INTERACTIVE PTE. LTD.
      Bundle ID: com.hmbdgames.match
      iTunes Store Link: https://apps.apple.com/us/app/pop-island/id6505047210?uo=4


      🤩 Hack Features

      - Coins [ Win Match Disable After Hack ]


      • 36 replies
    • Pop Island v1.5.1 [ +1 Jailed ] Coins Max
      Modded/Hacked App: Pop Island By HISTAR INTERACTIVE PTE. LTD.
      Bundle ID: com.hmbdgames.match
      iTunes Store Link: https://apps.apple.com/us/app/pop-island/id6505047210?uo=4


      🤩 Hack Features

      - Coins [ Win Match Disable After Hack ]


      • 38 replies
    • Parties & Puzzles: Tile Games v8.9 [ +3 Cheats ] Currency Max
      Modded/Hacked App: Parties & Puzzles: Tile Games By Snax Games LTD
      Bundle ID: com.snax.puzzle2
      iTunes Store Link: https://apps.apple.com/us/app/parties-puzzles-tile-games/id1587568164?uo=4

      🤩 Hack Features

      - Cash
      - Stars
      - Cards
      • 11 replies
    • Parties & Puzzles: Tile Games v8.9 [ +3 Jailed ] Currency Max
      Modded/Hacked App: Parties & Puzzles: Tile Games By Snax Games LTD
      Bundle ID: com.snax.puzzle2
      iTunes Store Link: https://apps.apple.com/us/app/parties-puzzles-tile-games/id1587568164?uo=4


      🤩 Hack Features

      - Cash
      - Stars
      - Cards 
        • Thanks
      • 14 replies
    • Piggy Kingdom - Match 3 Games v2.4.5 [ +6 Jailed ] Currency Max
      Modded/Hacked App: Piggy Kingdom - Match 3 Games By OLLEYO PTE. LTD.
      Bundle ID: com.olleyo.piggy.match
      iTunes Store Link: https://apps.apple.com/us/app/piggy-kingdom-match-3-games/id1635337354?uo=4


      🚀 Hack Features

      - Coins

      - Lives

      - Build Coins

      - Moves

      - Booster

      - Color Move Only [ Without Matching Move Anywhere ]


      🍏 Jailbreak iOS hacks: https://iosgods.com/forum/5-game-cheats-hack-requests/
      🤖 Modded Android APKs: https://iosgods.com/forum/68-android-section/
      • 40 replies
    • Jolly Match 3 - Puzzle Game v1.0.2288 [ +5 Cheats ] Auto Win
      Modded/Hacked App: Jolly Match 3 - Puzzle Game By Jollyco LLC
      Bundle ID: com.jollyco.jollybattlematch3
      App Store Link: https://apps.apple.com/us/app/jolly-match-3-puzzle-game/id1554274735?uo=4


      🤩 Hack Features

      - Auto Win

      - Coins

      - Stars

      - Lives

      - Booster
      • 20 replies
    • Piggy Kingdom - Match 3 Games v2.4.5 [ +6 Cheats ] Currency Max
      Modded/Hacked App: Piggy Kingdom - Match 3 Games By OLLEYO PTE. LTD.
      Bundle ID: com.olleyo.piggy.match
      iTunes Store Link: https://apps.apple.com/us/app/piggy-kingdom-match-3-games/id1635337354?uo=4


      🚀 Hack Features

      - Coins

      - Lives

      - Build Coins

      - Moves

      - Booster

      - Color Move Only [ Without Matching Move Anywhere ]


      🍏 For Non-Jailbroken & No Jailbreak required hacks: https://iosgods.com/forum/79-no-jailbreak-section/
      🤖 Modded Android APK(s): https://iosgods.com/forum/68-android-section/
      • 36 replies
    • Jolly Match 3 - Puzzle Game v1.0.2288 [ +5 Jailed ] Auto Win
      Modded/Hacked App: Jolly Match 3 - Puzzle Game By Jollyco LLC
      Bundle ID: com.jollyco.jollybattlematch3
      App Store Link: https://apps.apple.com/us/app/jolly-match-3-puzzle-game/id1554274735?uo=4


      🤩 Hack Features

      - Auto Win

      - Coins

      - Stars

      - Lives

      - Booster
      • 22 replies
×
  • 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