Jump to content

[Solved] Make .dylib files in Terminal


Go to solution Solved by akke92,

27 posts in this topic

Recommended Posts

Posted (edited)

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
Posted

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"

Posted

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? 

Posted

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

Posted

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? 

Posted

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. :)

Posted (edited)

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
Posted (edited)

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
Posted (edited)

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
Posted

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

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