Comments (6)
The code looks good, and it should add to the IPAPatch
target.
Would you confirm Aspect.m is also added to IPAPatch
target?
from ipapatch.
Faced the same problem.And solved by @Naituw 's method metioned above.
What a great work!!! Thanks!
from ipapatch.
Would you post your code in the comment?
from ipapatch.
我就什么都没写,就是写了个分类
@implementation UIViewController (Logging)
- (void)load {
[UIViewController aspect_hookSelector:@selector(viewWillAppear:)
withOptions:AspectPositionAfter
usingBlock:^(id aspectInfo){
NSLog(@"Current VC is %@", [aspectInfo instance]);
} error:NULL];
}
可能是我代码的位置放错了吧。。我放到IPAPatch目录下了,结果就直接crash了。。不过我放到DummyApp目录下的话,不crash了,不过代码好像不执行啊,我还没搞懂这个要怎么才能执行。。
from ipapatch.
@lizhaobomb I will close this issue now, if it's not your case, please comment below.
from ipapatch.
太棒了,我的也解决了。谢谢 @Naituw
from ipapatch.
Related Issues (20)
- Yvnx
- instagram crash HOT 1
- 项目无法在安装到手机 HOT 12
- dyld: dependent dylib (I have compiled the dylib myself ) HOT 3
- 支付宝App可以安装,但是会闪退
- Hi
- Configure Build Settings HOT 2
- IpA
- F
- 是否有计划增加macos 开发的 功能,比如hook mac 版本的应用,不如mac 版本微信 HOT 1
- ipa's
- Ipa
- Unable to load app onto device, HOT 5
- I
- ipapatch
- file not found: /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/arc/libarclite_iphoneos.a HOT 1
- Fav HOT 1
- install error HOT 1
- Run error HOT 1
- Offifi
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from ipapatch.