views:

988

answers:

3

Hi there. i have googled alot on how to create a mobilesubstrate plugin for iPhone but couldnt get any basic tutorial for that. Anybody having any knowledge of how to do this? I am looking for a basic understanding of it.

Thanks :)

A: 

Try to follow http://www.ipodtouchfans.com/forums/showthread.php?t=103558.

KennyTM
thanks for the link, but i already have gone through this link. The discussion in this thread shows that its outdated. I am looking for a basic tutorial on mobilesubstrate and its plugins
raziiq
A: 

Check out this tutorial: http://iphonesdkdev.blogspot.com/2009/10/how-to-compile-mobilesubstrate.html

Charybdis
i have used the template described here`http://www.ipodtouchfans.com/forums/showthread.php?t=163185`But i am not able to make this run. I am getting error `_HookMessage referenced from...`Anybody tried this template?
raziiq
Can you post more of the error? What hooker are you using, captainhook?
Charybdis
Please refer this thread, it contains details on the error i am getting `http://stackoverflow.com/questions/2175007/creating-a-libsubstrate-for-iphone-simulator`
raziiq
A: 

This script automatically setup iphone toolchain for you, runs on Mac OS X, thanks to @rpetrich. http://gist.github.com/403608

First, remember to apt-get remove iphone-gcc on the iphone before running this script on your mac, if you don't want to collect headers files from iphone sdk, follow the Darwin arm part of the script and I think you should be good.

overboming