The fourth Beta version of iPhone SDK gives the chance to create applications only for iPhone v2.0. The person known in a network as Darkmen has corrected this situation. Now any can create applications and games for iPhone v1.1.4 .

Requirements:
- Mac with Mac OS X Leopard
- iPhone v1.1.4
- Wi-Fi
- iPhone SDK Beta 3
- sdk3 Templates archive

Installation:
1. Download archive http://rapidshare.com/files/108139773/sdk3_mod.tgz.html
2. Unpack it. (~/make.sdk)
3. Be convinced, that XCode is installed in a directory /Developer
4. Check, that file system of firmware 1.1.4 is in /usr/local/share/iphone-filesystem
You can copy it in the following way:

$ sudo mkdir/usr/local/share/iphone-filesystem
$ sudo cp-pR/Volumes/LittleBear4A102.UserBundle/*/usr/local/share/iphone-filesystem

5. open Terminal on Mac:

~/make.sdk

Apple Mach-O Linker.xcspec include
GCC 4.0.xcspec keys.sh
Info.plist lib
ProjTempl sdk.sh
SDKSettings.plist sshd_config

Let’s start

$./sdk.sh
(#) 1.1.4 platform SDK creation script for XCode 3.1 beta 3 - by Darkmen
Copying iPhoneOS.platform…
Password: #ввести the password which enter at installation of any software on a poppy.
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…
Done!

For applications launch on the iPhone (Xcode - Run On Device),
It is necessary to get access on SSH without password input, with rsa-key use.
Type in Terminal on Mac:

$ export IPHONE_IP=10.0.2.2 (to enter ip-ajfona, there should be an access to phone)
$./keys.sh
(#) Passwordless SSH login script - dy Darkmen
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/imistix/.ssh/id_rsa):
Enter passphrase (empty for no passphrase):
Enter same passphrase again:
Your identification has been saved in/Users/imistix/.ssh/id_rsa.
Your public key has been saved in/Users/imistix/.ssh/id_rsa.pub.
The key fingerprint is:
66:07:f3:47:ec:Ϩ:78:b9:c5:58:ba:6d:b2:20:0e:a4 imistix@mistixs-macbook.local
Copying public key to iPhone. First login can take 30 seconds. Password: alpine
root@10.0.2.2′s password:
root@10.0.2.2’s password:
id_rsa.pub 100 % 411 0.4KB/s 00:00
Copying SSHD config to iPhone. Password: alpine
root@10.0.2.2’s password:
sshd_config 100 % 3248 3.2KB/s 00:00
Restarting SSHD on iPone…
root@10.0.2.2’s password:
Connection to 10.0.2.2 closed by remote host.
Done!

Check the rights in the iPhone, too:

chmod 755/var/root
chmod 700/var/root/.ssh
chmod 644/var/root/.ssh/authorize_keys

That’s it!

1 звезда2 звезды3 звезды4 звезды5 звезд (No Ratings Yet)
Loading ... Loading ...
Related Posts