Archive for May, 2012


XCode3 – Apple Mac OSX….

May 14, 2012

To install XCode Developer Tools , you must be running Mac OSX and have access to an XCode Developer Tools installer. The current version of XCode was 4.3.2, which requires that you be running Mac OSX Lion or later. For XCode 3 , it requires you to be running Mac OSX 10.6 (Snow Leopard) or later. Although the tools require Mac OSX 10.6 or  later to run , you can develop code that’s compatible with systems as old as Mac OSX 10.4. Some development packages , like the iPhone SDK , may have additional hardware or operating system requirements. The XCode Developer Tools installer is available from many sources. Many flavors of the Mac OSX operating system installer include a copy of the XCode Development Tools.

Xcode is Apple’s powerful integrated development environment for creating great apps for Mac, iPhone, and iPad. Xcode includes the Instruments analysis tool, iOS Simulator, and the latest Mac OS X and iOS SDKs.

To start the installation process , open XCodeTools or IPhone SDK package. You can find the XCodeTools package in the Optional Installs folder of the Mac OSX install DVD , as shown in the installer GUI.

The central construct in XCode , both physically and metaphorically , is the project. Everything you will accomplish in XCode begins with a project. In fact , without an open project XCode won’t do much beyond letting you browse the documentation and set some preferences. The spirit of your project is stored in a project document on your file system. The project window, is the manifestation of that document.

Single Window

As an experienced Xcode user, the first thing you will notice about Xcode 4 ( For XCode 4 user) is that the many windows used to perform the development tasks you work on every day have been consolidated into a single window. The Xcode 4 work area has several unique UI elements that make it easy to work on many different tasks, even multiple projects, without cluttering your work area. Your editor is always front and center.

Install Xcode 3.2.6

As of this writing, the most recent version of Xcode 3 is still available from Apple’s developer site. Download Xcode 3.2.6, which will require you to log in with your Apple dev credentials.

Alas, Xcode 3 doesn’t really want to be installed on Lion. No matter, its version checks can be defeated. I found out how to make it work from this link. I’ll repeat the instructions here, in case that link goes dead:

1. Mount the Xcode 3.2.6 DMG
2. Open Terminal
3. Enter these commands:

open "/Volumes/Xcode and iOS SDK/Xcode and iOS SDK.mpkg"

… then run the installation program as usual.

Partway through, the Xcode 3 installer demanded that I shut down iTunes, even though it wasn’t running. On a hunch, I used Activity Monitor to kill iTunes Helper, and that did indeed make it shut up and finish installing.

After Xcode 3 is installed, you’ll want to launch it to make sure it really works. On my system, Lion declared that it needed to download a Java runtime before this was possible

Project content (source files , property list , details , log output) is presented in individual windows or in one more panes that share a single window. Some windows are always organized into multiple panes , like the project and debugger windows. Other windows , like editing windows , usually consist of a single pane , but can often be split into multiple panes if you like. Broadly , content presented in XCode can be divided into five categories: the project window , editing panes , Info windows , floating windows and utility windows.

Apple LLVM is the next-generation compiler technology powering Xcode 4. Based on the vibrant open source project led by Apple engineers, the Apple LLVM compiler is modern thinking, tuned for iPhone, iPad, and the multi-core Mac.

Apple LLVM is fast. It compiles code twice as quickly as GCC, yet produces applications that also run faster. The compiler was built from the ground up as a set of highly optimized libraries, easy to extend, easy to optimize, and designed for today’s modern chip architectures. In Xcode 4, the full Apple LLVM compiler stack — from the front end parser, to the back end code optimizer — has great support for C, Objective-C, and C++.

Syntax highlighting, code completion, and every other index-driven feature is handled by the LLVM parser. If the compiler knows about a symbol, so does the Xcode IDE. C, C++, and Objective-C are all accurately understood at editing time, exactly as they are when building.

Well , that’s all for now..This week I’m busying completing my website design project…By the way , there will be a PC Expo 2012 that will be held at Midvalley Exhibition Center  on 25 till 27 May , 2012. The time is from 11.00 a.m till 9.00 p.m. Hope to see you guys there…