lorenbrichter / SimFinger

Screencasting for iPhone
http://blog.atebits.com/2009/03/not-your-average-iphone-screencast/
1.24k stars 132 forks source link

crashes when not in accessibility #37

Open mikey0000 opened 9 years ago

mikey0000 commented 9 years ago

just need to change to the following on line 544 of the delegate class

NSDictionary *options = @{(id)kAXTrustedCheckOptionPrompt: @YES};
BOOL accessibilityEnabled = AXIsProcessTrustedWithOptions((CFDictionaryRef)options);
 if (accessibilityEnabled) {
     [self positionSimulatorWindow:nil];
     hideTheCursor();
}