iolate / SimulateTouch

Simulate touch library for iOS
MIT License
511 stars 158 forks source link

Linking? #1

Closed Kulitorum closed 10 years ago

Kulitorum commented 11 years ago

How do I link libsimulatetouch.dylib into my Tweak?

Please help :)

eswick commented 11 years ago

Add libsimulatetouch.dylib to $THEOS/lib, then add (project name)_LDFLAGS = -lsimulatetouch to your makefile. Also make sure that SimulateTouch is installed on your device, and you should be good.

eswick commented 11 years ago

Or, you could also get the class at runtime.

In Tweak.xm, instead of specifying [SimulateTouch doWhatever], use [%c(SimulateTouch) doWhatever] or [objc_getClass("SimulateTouch") doWhatever].

Kulitorum commented 11 years ago

Cool, I got it to work now - The game is now playing it self, making a lot of money while I watch a movie :)

Life is sweet.

On question though - you updated it for ios7 - how can I get it installed on ios 7? - it's ofcause not jailbroken, so I dont see how you could test it.... Unless there's something you feel like shareing :)

Thanks for the help and the lib.

//Kulitorum

On 02/11/13 15:56, Evan Swick wrote:

Or, you could also get the class at runtime.

In Tweak.xm, instead of specifying [SimulateTouch doWhatever], use [%c(SimulateTouch) doWhatever] or [objc_getClass("SimulateTouch") doWhatever].

— Reply to this email directly or view it on GitHub https://github.com/iolate/SimulateTouch/issues/1#issuecomment-27623533.

iolate commented 11 years ago

Because of limera1n exploit, iPhone4 can be jailbroken all firmwares.

so I tested it on iPhone4 :)

2013년 11월 3일 일요일에 Kulitorum님이 작성:

Cool, I got it to work now - The game is now playing it self, making a lot of money while I watch a movie :)

Life is sweet.

On question though - you updated it for ios7 - how can I get it installed on ios 7? - it's ofcause not jailbroken, so I dont see how you could test it.... Unless there's something you feel like shareing :)

Thanks for the help and the lib.

//Kulitorum

On 02/11/13 15:56, Evan Swick wrote:

Or, you could also get the class at runtime.

In Tweak.xm, instead of specifying [SimulateTouch doWhatever], use [%c(SimulateTouch) doWhatever] or [objc_getClass("SimulateTouch") doWhatever].

— Reply to this email directly or view it on GitHub https://github.com/iolate/SimulateTouch/issues/1#issuecomment-27623533.

— Reply to this email directly or view it on GitHubhttps://github.com/iolate/SimulateTouch/issues/1#issuecomment-27630753 .