Ret70 / PTFakeTouch

Simulate touch events for iOS[User mode]

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Not support simulator?

Saix1020 opened this issue · comments

Does this framework support simulator?
I'm using XCode 10.0.

Undefined symbols for architecture x86_64:
  "_IOHIDEventCreateDigitizerEvent", referenced from:
      _kif_IOHIDEventWithTouches in PTFakeTouch(IOHIDEvent+KIF.o)
  "_IOHIDEventCreateDigitizerFingerEventWithQuality", referenced from:
      _kif_IOHIDEventWithTouches in PTFakeTouch(IOHIDEvent+KIF.o)
  "_IOHIDEventSetIntegerValue", referenced from:
      _kif_IOHIDEventWithTouches in PTFakeTouch(IOHIDEvent+KIF.o)
  "_IOHIDEventAppendEvent", referenced from:
      _kif_IOHIDEventWithTouches in PTFakeTouch(IOHIDEvent+KIF.o)
ld: symbol(s) not found for architecture x86_64
clang: error: linker command failed with exit code 1 (use -v to see invocation)
commented

No, doesn't support simulator.

Thanks for your quick response.
I found a the solution. I used the IOKit.framework for simulator instead, then it works.
/Applications/Xcode.app//Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator.sdk/System/Library/Frameworks/IOKit.framework