Closed Kulitorum closed 10 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.
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].
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.
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 .
How do I link libsimulatetouch.dylib into my Tweak?
I'm getting...
Linking tweak YOURTWEAK... Undefined symbols: "_OBJCCLASS$_SimulateTouch", referenced from: __objc_classrefs_DATA@0 in Tweak.xm.12a7f804.o ld: symbol(s) not found collect2: ld returned 1 exit status make[2]: * [obj/YOURTWEAK.dylib.64873355.unsigned] Error 1 make[1]: * [internal-library-all] Error 2 make: *\ [KingdomAgeA.all.tweak.variables] Error 2
Please help :)