Skip to content
Guest Big Announcement

[Solved] Make .dylib files in Terminal

Featured Replies

Hey iosgods!
 
Everytime i'm making .dylib files in Terminal i get the following errors:
 
Axels-iPhone:~ root# cd /var/root/minehack/
Axels-iPhone:~/minehack root# make
/var/root/minehack/theos/makefiles/targets/Darwin-arm64/iphone.mk:43: Targeting iOS 4.0 and higher is not supported with iphone-gcc. Forcing clang.
/var/root/minehack/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 minehack...
 Preprocessing Tweak.xm...
Constants from lexical variables potentially modified elsewhere are deprecated at /private/var/theos/bin/lib/aliased.pm line 42.
Constants from lexical variables potentially modified elsewhere are deprecated at /private/var/theos/bin/lib/aliased.pm line 42.
Constants from lexical variables potentially modified elsewhere are deprecated at /private/var/theos/bin/lib/aliased.pm line 42.
Constants from lexical variables potentially modified elsewhere are deprecated at /private/var/theos/bin/lib/aliased.pm line 42.
Constants from lexical variables potentially modified elsewhere are deprecated at /private/var/theos/bin/lib/aliased.pm line 42.
Constants from lexical variables potentially modified elsewhere are deprecated at /private/var/theos/bin/lib/aliased.pm line 42.
Constants from lexical variables potentially modified elsewhere are deprecated at /private/var/theos/bin/lib/aliased.pm line 42.
Constants from lexical variables potentially modified elsewhere are deprecated at /private/var/theos/bin/lib/aliased.pm line 42.
 Compiling Tweak.xm...
 Linking tweak minehack...
 Stripping minehack...
 Signing minehack...
Axels-iPhone:~/minehack root# 
 
Does anyone know why? Would really appreciate some help on this one! 
I'm on a iphone 6s+ running ios 9.3.3.
 
Thanks in advance!
Best regards,
Akke92

Updated by akke92

Solved by akke92

  • 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

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"

  • Author

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"

Wow, what a fast response! Thank you for that!

 

So the "Constants from lexical variables potentially modified elsewhere are deprecated at /private/var/theos/bin/lib/aliased.pm line 42." 

is nothing to worry about? 

Wow, what a fast response! Thank you for that!

 

So the "Constants from lexical variables potentially modified elsewhere are deprecated at /private/var/theos/bin/lib/aliased.pm line 42." 

is nothing to worry about? 

Nope, very normal

  • Author

Nope, very normal

 

Thank you mate!

 

one more thing, lets say i just compiled a game cheat i've been working on. I copied the .dylib file and the .plist file into /Library/MobileSubstrate/DynamicLibraries/ and then i respring.

But when i launch the game i've installed the cheats for, nothing happens? What might be wrong then?

I thought something went wrong in the compiling but if you're telling me this is normal, what might be the problem? 

Thank you mate!

 

one more thing, lets say i just compiled a game cheat i've been working on. I copied the .dylib file and the .plist file into /Library/MobileSubstrate/DynamicLibraries/ and then i respring.

But when i launch the game i've installed the cheats for, nothing happens? What might be wrong then?

I thought something went wrong in the compiling but if you're telling me this is normal, what might be the problem?

 

Wow there, you're not doing it properly. There's no point of putting the .dylib there :lol: . Go make to your terminal and CD your hack like you did. And instead of writing "make" , write "make package install" without the quotations. This will initially install the hack in your device. If you go back to the hack folder, you'll find the .deb which can be shared with others who want the hack. :)

  • Author

Wow there, you're not doing it properly. There's no point of putting the .dylib there :lol: . Go make to your terminal and CD your hack like you did. And instead of writing "make" , write "make package install" without the quotations. This will initially install the hack in your device. If you go back to the hack folder, you'll find the .deb which can be shared with others who want the hack. :)

Ohh... my bad haha!

 

Well i did that instead now, the phone respringed and all that but when i now launch the game i still get nothing..? :o

Do i need to install it manually some way or why isn't it still working? :p

Updated by akke92

Ohh... my bad haha!

 

Well i did that instead now, the phone respringed and all that but when i now launch the game i still get nothing..? :o

Do i need to install it manually some way or why isn't it still working? :p

If it's not working you either 1. Made a patcher and didn't turn on the switches in the settings which is unlikely or 2. You made a tweak but didn't write it properly thus it not working

Updated by Crypto

  • Author

If it's not working you either 1. Made a patcher and didn't turn on the switches in the settings which is unlikely or 2. You made a tweak but didn't write it properly thus it not working

That's the weird thing... I haven't made a patcher so the switches in the settings isn't it. Guess i must have failed on the writing part...

But i followed a guide here on the forums and did excacly what i was supposed to do. I've tried this method on 2 different games now and nothing works.

All i've done is that i've added a UI Popup to both of the games but no UI pops up when the application becomse active. Do you think you could help me further with this problem?

Thank you Crypto! 

Updated by akke92

That's the weird thing... I haven't made a patcher so the switches in the settings isn't it. Guess i must have failed on the writing part...

But i followed a guide here on the forums and did excacly what i was supposed to do. I've tried this method on 2 different games now and nothing works.

All i've done is that i've added a UI Popup to both of the games but no UI pops up when the application becomse active. Do you think you could help me further with this problem?

Thank you Crypto!

 

Which probably means you're not linking correctly :p

 

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

  • 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

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?

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.