Results 1 to 3 of 3
Discuss My first iPhone program? at the iPhone Developer Exchange - Hackint0sh.org; Hello, I'm a veteran developer with a jailbreak iPhone. I need to write a small ...
  1. #1
    Professional Array thedp's Avatar

    Join Date
    Sep 2008
    Posts
    62
    Post Thanks / Like
    Downloads
    0
    Uploads
    0
    Rep Power
    9

    Default My first iPhone program?

    Hello,

    I'm a veteran developer with a jailbreak iPhone.
    I need to write a small command line program for my iPhone which will throw alerts to the UI using the UIAlert.

    My problem is that I don't have a Mac, so I need a way to develop this on Windows, or even directly compile the code on the iPhone shell (preferably).

    How can I achieve something like that?


    Thank you.

    iPhone 4G, 16GB, JailBreak.
    (and an old iPhone 2G with broken glass )
    Black iPod 5gen, 30GB.



  2. #2
    Newbie Array

    Join Date
    Nov 2010
    Posts
    2
    Post Thanks / Like
    Downloads
    0
    Uploads
    0
    Rep Power
    0

    Default

    Well, to do it on Windows you have to install cygwin and the right toolchain, then you type "make" in the directory of your project an it will create a .app folder quite fast if you have set up your project correctly (A makefile, the info.plist, etc). There is a great tutorial here :
    build iPhone toolchain for 3.0 in windows via CYGWIN - iPod touch Fans forum - iPod, iPhone and iPad
    It is way slower but you can also compile directly on the iPod/iPhone : Just download the GNU Compiler and the toolchain on Cydia and type "make" in the terminal to create your application.
    With either Windows and your iPhone, you need to make the application executable using "chmod +x" on your binary and "ldid -S", in su mode.
    Good luck anyway.

  3. #3
    Professional Array thedp's Avatar

    Join Date
    Sep 2008
    Posts
    62
    Post Thanks / Like
    Downloads
    0
    Uploads
    0
    Rep Power
    9

    Default Sdk?

    What about the SDK, where do I use it when I work with Cygwin?
    And is there a way I can compile Objective-C directly on the iPhone?

    Thank you.

    iPhone 4G, 16GB, JailBreak.
    (and an old iPhone 2G with broken glass )
    Black iPod 5gen, 30GB.

 

 

Similar Threads

  1. Any program to revirginize my 1.1.1 iphone ??
    By vexta in forum iPhone "2G" (Rev. 1)
    Replies: 1
    Last Post: 11-02-2007, 08:48 PM
  2. can you mobile program on iphone?
    By BMX in forum Free Toolchain Software (Cydia App's)
    Replies: 1
    Last Post: 10-12-2007, 03:56 PM
  3. Replies: 0
    Last Post: 09-18-2007, 03:16 PM
  4. Replies: 5
    Last Post: 09-15-2007, 09:48 PM

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  
Powered by vBulletin®
Copyright © 2014 vBulletin Solutions, Inc. All rights reserved.
Search Engine Friendly URLs by vBSEO
(c) 2006-2012 Hackint0sh.org
All times are GMT +2. The time now is 04:20 PM.
twitter, follow us!