Jump to content

class-dump:64-bit Mach-0 and fat archive issue


Oktyats

6 posts in this topic

Recommended Posts

Posted

Hi masters.

I'm tring to make map hack for a Legeds of Ace and i'm trying to MobileSubstrate

This way is true or false? 

If false how can i do the hacks for moba games?

Not: I check forum for my problems but i can't solved 

Tryed lipo <binaryname> -thin armv7 -output <newbinaryname> at terminal  but not solved

at /var/theos/bin/nic.pl
  [1.] iphone/activator_event
  [2.] iphone/application_modern
  [3.] iphone/application_swift
  [4.] iphone/flipswitch_switch
  [5.] iphone/framework
  [6.] iphone/library
  [7.] iphone/preference_bundle_modern
  [8.] iphone/tool
  [9.] iphone/tool_swift
  [10.] iphone/tweak
  [11.] iphone/xpc_service
Choose a Template (required): 10
Project Name (required): LOAHACK
Package Name [com.yourcompany.loahack]: com.oktyats.loahack
Author/Maintainer Name [System Administrator]: Oktyats
[iphone/tweak] MobileSubstrate Bundle filter [com.apple.springboard]: com.funcube.loa
[iphone/tweak] List of applications to terminate upon installation (space-separated, '-' for none) [SpringBoard]: -
Instantiating iphone/tweak in loahack/...
Done.
iPhone:~ root# class-dump -H loa -o headers
2020-03-17 18:13:26.695 class-dump[63904:2522463] Couldn't read file: loa
2020-03-17 18:13:26.696 class-dump[63904:2522463] Couldn't read file: loa
class-dump: Input file (loa) is neither a Mach-O file nor a fat archive.

another problem

class-dump: We don't support 64-bit Mach-O files.
class-dump: Input file (/var/mobile/x) is neither a Mach-O file nor a fat archive.

 

Posted

Did you set right permissions of your new binary?

Ownership should be Mobile:Mobile (Owner:Group) and Access Permissions should be 777 (Read, Write, Execute for everyone)...

Posted

@ZoZo I'm having the exact same problem as this guy currently :( 

I tried doing exactly the same as he did and coming up with the same error still

Posted
5 minutes ago, Caroline_ said:

@ZoZo I'm having the exact same problem as this guy currently :( 

I tried doing exactly the same as he did and coming up with the same error still

I did a little research and perhaps the class-dump tool is outdated. Try this https://github.com/DreamDevLost/classdumpios

And is there a possibility that the binary is already thinned?

Posted
19 minutes ago, ZoZo said:

I did a little research and perhaps the class-dump tool is outdated. Try this https://github.com/DreamDevLost/classdumpios

And is there a possibility that the binary is already thinned?

thank you, i guess it was outdated :fingerscrossed:

what is the command to print and store the headers of the binary into filza

I accidentally did

Quote

-otool -h name -o headers

and now its printing everything in terminal smh

 

Archived

This topic is now archived and is closed to further 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