Reputation: 2088
I build a static library for a non-jail broken phone with ARC Enabled. Works awesome. Then I build a Mobilesubstrate Logos Tweak with iOSOpenDev. It imports all same classes from static library. However it does not compile because ARC is enabled by default in new project. So I disable ARC and I am able to hook. But behavior of this tweak at times is weird. I doubt its ARC. I want to enable it. I have ready this but doesn't help me much.
How can I enable ARC in iOSOpenDev project? Additional code for Logos is very simple
%hook UIApplication
-(void) sendEvent:(UIEvent*)event
{
[test ProcessEvent:event];//test is the static library classes imported directly in tweak
%orig;
}
Upvotes: 1
Views: 517