KJCracks / Clutch

Fast iOS executable dumper
3.69k stars 647 forks source link

WeChat Clutch failed #166

Open jacinzhang opened 7 years ago

jacinzhang commented 7 years ago

run clutch -d com.tencent.xin, show me

com.tencent.xin contains watchOS 2 compatible application. It's not possible to dump watchOS 2 apps with Clutch 2.0.4 at this moment.
Zipping WeChat.app
ASLR slide: 0x10007c000
Dumping <WeChatShareExtensionNew> (arm64)
Patched cryptid (64bit segment)
Writing new checksum
ASLR slide: 0x100038000
Dumping <WeChat> (arm64)
Patched cryptid (64bit segment)
Zipping WeChatShareExtensionNew.appex
Writing new checksum
DONE: /private/var/mobile/Documents/Dumped/com.tencent.xin-iOS7.0-(Clutch-2.0.4).ipa

actually it's falied, when i resign this app and install it, I can't install on my device.

cause WeChat has watchOS 2 compatible application???

nothingzz commented 7 years ago

Did you solve this problem?

jacinzhang commented 7 years ago

NO

n37r06u3 commented 7 years ago

@jacinzhang 你好 ,遇到一些编译问题,加个好友问问啊

W-MS commented 7 years ago

这不是clutch的问题,是codesign没做好。

pcSong commented 7 years ago

@W-MS and how to fixed it?

Tatsh commented 7 years ago

Thoughts @ttwj @NinjaLikesCheez?

Main issues:

[WCDB]Code:2, Type:Abort, Msg:[NSString] should conform to WCTColumnCoding protocol, which is the class of [WCTSequence name]
2017-08-17 20:56:51.057 clutch[5507:248796] +[NSString columnTypeForWCDB]: unrecognized selector sent to class 0x1b9318398
2017-08-17 20:56:51.057 clutch[5507:248796] *** Terminating app due to uncaught exception 'NSInvalidArgumentException', reason: '+[NSString columnTypeForWCDB]: unrecognized selector sent to class 0x1b9318398'

https://github.com/Tencent/wcdb/blob/490bf7e27e318479a583b1a394b2007c495abdbc/apple/WCDB/interface/orm/accessor/WCTRuntimeObjCAccessor.mm#L37

Error: Failed to dlopen /var/containers/Bundle/Application/0D34E10D-7F0F-422F-B5AB-C988E695693F/WeChat.app/Frameworks/MMCommon.framework/MMCommon dlopen(/var/containers/Bundle/Application/0D34E10D-7F0F-422F-B5AB-C988E695693F/WeChat.app/Frameworks/MMCommon.framework/MMCommon, 1): Library not loaded: @rpath/mars.framework/mars
  Referenced from: /var/containers/Bundle/Application/0D34E10D-7F0F-422F-B5AB-C988E695693F/WeChat.app/Frameworks/MMCommon.framework/MMCommon
  Reason: image not found
NinjaLikesCheez commented 7 years ago

@tatsh, hey sorry for late repl.

I agree with your assessment, dumping needs to be made more intelligent/rewritten to understand the more modern iOS concepts from the ground up