I figured my problem in my prev. post so I thought I should share the solution. then I thought its easier to explain eveything from the beginning. So here we go.
Getting started on Xcode
You will need Xcode 2 which can only be installed on Mac OS 10.4 (aka Tiger).
1. Create empty project: File->New Project and select Empty Project at the top. Then click next. Give it any name you want and Click Finish
2. Now add some Frameworks. On the left hand side you should see a column with your project name at the top (blue icon). Select it, then right click and choose Add->Existing Framworks. You will need to add 4 Framworks, AppKit, Carbon, Cocoa and of course OpenGL. They should reside in /System/Library/Framworks. Select them and click Add. Then click Add Again.
3. Now add the libMacOSX.a file. The same way you added the frameworks, Add->Exsisting Files. Make sure you have selected "Recursively create groups for any added folders". And check "Copy items into destination group's folder (if needed)"
4. Adjust the project, go to Project -> Edit project settings, go to build tab and set SDK path to wherever you have MacOSX10.4u.sdk, i.e.
/Developer/SDKs/MacOSX10.4u.sdk. Then set Header Search Paths to
/irrlicht-1.0/include or wherever you have include folder from Irrlicht.
5. Add a new target. Project -> New Target. Select Carbon/Application (not Cocoa!). Give it a name. Click triangles under Targets till you see Link Binary with Libraries. Select all the frameworks you've added and also libMacOSX.a and drag it underneath.
6. Now right click on your project icon add choose Add->New Files. Then select BSD/C++ File. Uncheck 'Also create " .h" ' as we dont need it at this stage. Name main.cpp or something and click Finish. Copy and paste code from 1st Tutorial, but also add #include <OpenGL/OpenGL.h> at the top. And change quotes in #pragma comment.. to double quotes, i.e #pragma comment(lib, "libMacOSX.a").
7. Make sure you have "Release" selected as active build configuration. Now go to Build->Build and Run.

