Upload
opexxx
View
215
Download
0
Embed Size (px)
Citation preview
8/14/2019 [HOWTO] Use Apple SDK to Build 1.1.4 Apps
1/3
OWTO] Use Apple SDK to build 1.1.4 apps
26.03.2008 21:55
Darkmen [HOWTO] Use Apple SDK to build 1.1.4 apps
Lets use all power of graphic IDE from Apple SDK for 1.1.4 development:
1. Download installation: http://r_apidshare.com/files/102531763/sdk_mod.tgz.html (remove _ )2. Untgz it somwere for example to homedir. Apears folder: ~/make.sdk3. Make sure Apple SDK installed to default foilded /Developer4. Make sure original 1.1.4 filesystem is here: /usr/local/share/iphone-filesystem Otherwise u can change script manually5. Open terminal on your Mac:
Code:
Lets start:
Code:
You will need paswordless SSH login to your iPhone to be able to use Run On Device scriptYou can do it now:
Code:
We DONE!Start XCode and make New project
$ cd ~/make.sdk/$ ls
Apple Mach-O Linker.xcspec includeGCC 4.0.xcspec keys.shInfo.plist libProjTempl sdk.shSDKSettings.plist sshd_config
$ ./sdk.sh
(#) 1.1.4 platform SDK creation script for XCode 3.0 -- by DarkmenCopying Aspen1.2...Configuring XCode GCC plugin...Configuring SDK prefs...Removing old templates...Copying new templates...Making SDK filesystem:-Erasing 1.2 System-Erasing 1.2 libMake 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!
$ export IPHONE_IP=192.168.1.6 (please replace with your iPhone's IP address)$ ./keys.sh
(#) Passwordless SSH login script -- dy DarkmenWARNING: 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:
xx:xx:xx:xx:xx:xx:xx:xx:xx:xx:xx:xx:xx:xx:xx:xx [email protected] public key to iPhone. First login can take 30 seconds. Password: alpine
[email protected]'s password:id_rsa.pub 100% 403 0.4KB/s 00:00Copying SSHD config to iPhone. Password: alpinesshd_config 100% 3248 3.2KB/s 00:00Restarting SSHD on iPone...Connection to 192.168.1.6 closed by remote host.Done!
8/14/2019 [HOWTO] Use Apple SDK to Build 1.1.4 Apps
2/3
OWTO] Use Apple SDK to build 1.1.4 apps
26.03.2008 21:55
iPhone (old) is our new SDK for FW 1.1.4Now select desired template, for example Cocoa Touch SectionListAnd switch SDK to Device 1.1.4:
Go menu: Project->Edit ProjectSettingsAnd change IPHONE_IP value:
8/14/2019 [HOWTO] Use Apple SDK to Build 1.1.4 Apps
3/3
OWTO] Use Apple SDK to build 1.1.4 apps
26 03 2008 21:55
Now push Build and Untitled application starts on your iPhone. Pressing Stop will close running application.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
Templates included:Application
Cocoa Touch SectionListCocoa Touch TableViewCocoa Touch View
Bundle
CFPlugIn BundleGeneric C++ Plugin
Command Line Utility
C++ ToolCoreFoundation ToolFoundation ToolStandard Tool
Kernel Extension
Generic Kernel ExtensionIOKit Driver
Static Library
BSD Static Library
P.S. Credits to dev team for framework headers
Stay tuned