Lets use all power of graphic IDE from Apple SDK for 1.1.4 development:
0. Close XCode and make sure its not running
1. Download installation:
-For SDK v1 http://r_apidshare.com/files/102531763/sdk_mod.tgz.html (remove _ )
-For SDK v2 http://r_apidshare.com/files/1030589...2_mod.tgz.html (remove _ )
-For SDK v3 http://r_apidshare.com/files/1081397...3_mod.tgz.html (remove _ )
2. Untgz it somwere for example to homedir. Apears folder: ~/make.sdk
3. Make sure Apple SDK installed to default foilded /Developer
4. Make sure original 1.1.4 filesystem is here: /usr/local/share/iphone-filesystem Otherwise u can change script manually
5. Open terminal on your Mac:
$ cd ~/make.sdk/
Apple Mach-O Linker.xcspec include
GCC 4.0.xcspec keys.sh
You will need paswordless SSH login to your iPhone to be able to use Run On Device scriptQuote:
(#) 1.1.4 platform SDK creation script for XCode 3.0 -- by Darkmen
Configuring XCode GCC plugin...
Configuring SDK prefs...
Removing old templates...
Copying new templates...
Making SDK filesystem:
-Erasing 1.2 System
-Erasing 1.2 lib
Make sure original 1.1.4 filesystem is here: /usr/local/share/iphone-filesystem/
-Copying 1.1.4 iPhone fileystem...
-Copying dev team 1.1.4 headers...
-Copying dev team libs...
You can do it now:
$ export IPHONE_IP=192.168.1.6 (please replace with your iPhone's IP address)
(#) Passwordless SSH login script -- dy Darkmen
WARNING: Dont forget to change iPhone's IP. Default is 192.168.1.6!
Generating RSA keys for SSH paswordless login on iPhone. Please leave default filenames and empty passphrase!
Generating public/private rsa key pair.
Enter file in which to save the key (/Users/darkmen/.ssh/id_rsa):
Enter passphrase (empty for no passphrase):
Enter same passphrase again:
Your identification has been saved in /Users/darkmen/.ssh/id_rsa.
Your public key has been saved in /Users/darkmen/.ssh/id_rsa.pub.
The key fingerprint is:
Copying public key to iPhone. First login can take 30 seconds. Password: alpine
id_rsa.pub 100% 403 0.4KB/s 00:00
Copying SSHD config to iPhone. Password: alpine
sshd_config 100% 3248 3.2KB/s 00:00
Restarting SSHD on iPone...
Connection to 192.168.1.6 closed by remote host.
Start XCode and make New project
iPhone (old) is our new SDK for FW 1.1.4
Now select desired template, for example Cocoa Touch SectionList
And switch active SDK to Device 1.1.4:
Go menu: Project->Edit ProjectSettings
And change IPHONE_IP value:
Now push Build and Untitled application starts on your iPhone. Pressing Stop will close application running.
For command line tools no execution automatic. Script only copy it to iPhone: /usr/local/bin
As result we become SDK with Apple GCC configured to build applications for iPhone 1.1.4
* Cocoa Touch SectionList
* Cocoa Touch TableView
* Cocoa Touch View
* CFPlugIn Bundle
* Generic C++ Plugin
Command Line Utility
* C++ Tool
* CoreFoundation Tool
* Foundation Tool
* Standard Tool
* Generic Kernel Extension
* IOKit Driver
* BSD Static Library
P.S. Credits to dev team for framework headers and libs