Thursday, November 13, 2008

iPhone dev env for 2.1 on iPhone

1. install Toolchain2.0 from Cydia
2. can run GoHome.app without UI now, rember first
    ldid -S YourApp
3. download the sdk.2.0 header files, and move it to /var/include
you'd better bakup the system /var/include before.
4. can compile HelloWorld.app now
5. still can't be brought up by SprintBoard, you need to
rm -f /private/var/mobile/Library/Caches/com.apple.mobile.installation.plist
before
killall SpringBoard
You can add this line to your Makefile.

OK. That's it.

reference:
1. http://www.weiphone.com/thread-171402-2-1.html
2. http://antirez.com/page/iphone-gcc-guide.html
3. http://soi.kd6.us/2008/09/27/so-i-made-my-iphone-say-hello-world/

No comments: