|
|||||||||
|
|||||||||
|
||||
|
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: Code:
$ cd ~/make.sdk/ $ ls Apple Mach-O Linker.xcspec include GCC 4.0.xcspec keys.sh Info.plist lib ProjTempl sdk.sh SDKSettings.plist sshd_config Quote:
You can do it now: Quote:
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 Templates included: Application * Cocoa Touch SectionList * Cocoa Touch TableView * Cocoa Touch View Bundle * CFPlugIn Bundle * Generic C++ Plugin Command Line Utility * C++ Tool * CoreFoundation Tool * Foundation Tool * Standard Tool Kernel Extension * Generic Kernel Extension * IOKit Driver Static Library * BSD Static Library P.S. Credits to dev team for framework headers and libs Stay tuned Last edited by Darkmen; 04-21-2008 at 12:28 AM. Reason: SDK beta 3 added |
|
||||
|
Excellently written Darkmen! Looking forward to seeing apps be designed by this
__________________
Quote:
|
| Sponsored links Remove advertisements | |
|
|
|
|
|
|||
|
Thanks a lot
I made a try tonight, and it does work with the beta 3, I am not sure what is not working, the template work, compile and launch very good trick I put a link for each folder of headers related to a framework to be able to read them in Xcde when I add a framework to my project. Code:
#!/bin/sh
FrameworksPath="/Developer/Platforms/Toolchain.platform/Developer/SDKs/Toolchain.sdk/System/Library/Frameworks"
HeadersPath="/Developer/Platforms/Toolchain.platform/Developer/SDKs/Toolchain.sdk/usr/include"
for ff in `ls ${FrameworksPath}`
do nf=`basename $ff .framework`
#echo $FrameworksPath/$ff
if test -d $HeadersPath/$nf
then
c="sudo ln -s $HeadersPath/$nf $FrameworksPath/$ff/Headers"
echo $c
$c
else
echo --$nf
fi
done
I will investigate the others headers later, I am studying the iPhone API... Regards Last edited by igerard; 04-17-2008 at 07:54 AM. Reason: better script |
| Sponsored links Remove advertisements | |
|
|
|
|
|
|||
|
Darkmen, big, big thanks for this. I've been trying to get this to work for a while, and it seems you've solved the header file / SDK mess. The script works fine as well, except that it should be run when doing "Build&Run" rather than everytime I "Build". I haven't managed to get debugging to work, which is supposedly supported in 2.0. Anyways, many thanks to you.
|
|
|||
|
Hi everybody.
I did it all but when I compile I get an error about gcc4.0.0 has not been found. Which XCode version do you have? 3 o 3.1 beta? because I have 3.0 but iphone sdk installation replaces it by 3.1 beta. Maybe that is my problem, I dont know. What I dont understand is this: "(#) 1.1.4 platform SDK creation script for XCode 3.0 -- by Darkmen" But iphone sdk installs xcode 3.1 Any idea/suggestion? Thank you very much. Last edited by riruilo; 04-20-2008 at 01:36 AM. |
|
|||
|
Just tried the scripts for the beta 3 and they worked fine. I was able to create, compile and deploy the template to my iPhone.
But I have a question: there is any way to create the interface through Interface Builder and compile it to 1.1.4? riruilo, I didn't understand what you said. For this to work you must have the iphone SDK aka XCode 3.1, and it must be on /Developer and the latest version say it right: (#) 1.1.4 platform SDK creation script for XCode 3.1 beta 3 -- by Darkmen |
| Sponsored links Remove advertisements | |
|
|
|
|
|
|||
|
Just a silly question.
After installing sdk beta 3, I went to /usr/local/share/iphone-filesystem but there were nothing. Due to that, script fails. So, how/where can I find/get original 1.1.4 filesystem?? Thanks a lot |
![]() |
| Bookmarks |
| Thread Tools | |
| Display Modes | |
|
|
|
|