unidbg iOS 如何补方法
本帖最后由 charleyha 于 2022-8-17 11:35 编辑把unidbg-iOS/test/resources/app 下的ipa包换成自己的ipa包。 同时,把IpaLoaderTest也改成自己的xxxx.ipa包。
```
public void testLoader() throws Exception {
long start = System.currentTimeMillis();
File ipa = new File("unidbg-ios/src/test/resources/app/xxxx.ipa");
if (!ipa.canRead()) {
ipa = new File("src/test/resources/app/xxxx.ipa");
}
```
运行IpaLoaderTest。会报错 +: unrecognized selector sent to class。
报错如下: NSForwarding: warning: selector (0x10d9499c2) for message 'instancesRespondToSelector:' does not match selector known to Objective C runtime (0x10c97eba0)-- abort2022-08-17 10:40:43.635NSForwarding: warning: selector (0x10d9499c2) for message 'instancesRespondToSelector:' does not match selector known to Objective C runtime (0x10c97eba0)-- abortAug 17 10:40:44 unidbg.local <Error>: +: unrecognized selector sent to class 0x10ca3ba20
看报错是某个方法没有实现导致的, 如果我需要补方法,应该如何实现?
页:
[1]