Thursday, May 8, 2008

iPhone SDK Installation

Since we are new to MAC, We have had a very tough time to setup the iphone SDK on our Intel based MAC machine. It is always a best practice to share what you have learnt. Hence this article has born.

The Fourth beta version of the iPhone SDK includes Xcode IDE, iPhone simulator with Open GL ES support, Interface Builder, Instruments, frameworks and samples. The file size of the SDK around 1.37 GB. iPhone SDK will run on Intel-based Macs running Mac OS X v10.5.2 and later. We have given the step by step installation for the newbies.


Step-by-Step Installation


Pre-Requisite


Make Sure that you have installed the iTunes 7.6.1 before installing the iPhone SDK,if fails the Xcode IDE (used to developing the application for iPhone or iPod) will crash.


1. Download the iPhone SDK from the following URL : http://developer.apple.com/iphone/sdk1

Before download the file,it will ask your own Apple ID. If you don't have the Apple ID,just click the “Create Apple ID” button and fill your details in the form.



Apple will send an email to your ID which is given by you during the registration. They send a confirmation mail and also give the link for downloading the SDK.



2. After downloading the SDK (.dmg extension), double click on the file and it will shown the window like this

select iPhone SDK icon and double click on it.


In iPhone SDK Bundle, you can select required tools using “Custom Install” as shown in below figure.

To change the installation location for installing the SDK or install in the default location. The default installation location is /Developer.


During the installation, it will require the Mac user name and password,



After validating the user name and password, the installation will start and the installation window looks like this


Once you have proceed the SDK setup without any interrupts, the SDK installation will succeed.

Installation Tools


iPhone Simulator

  • The Simulator is known to fail when run by a user other than the user account under which the iPhone SDK was installed
  • Resetting the Simulator using the on-device Settings app by clicking
  • Settings > General > Reset will leave the Simulator "stuck"
  • The version of the Foundation framework included in the Simulator includes functionality not found on the iPhone or iPod touch.

Xcode IDE

Xcode IDE, a graphical workbench that tightly integrates a professional text editor, a robust build system, a debugger, and the powerful GCC compiler capable of targeting Intel and PowerPC regardless of host platform. Xcode is both easy to use, and yet powerful enough to build the largest Mac OS X applications. The complete Mac OS X developer tools chain is distributed as part of Xcode; these tools include Interface Builder, Instruments, Dashcode, and the WebObjects framework.


Interface Builder

Interface Builder is an application for designing and testing user interfaces. Developers can use Interface Builder to create user interfaces that follow the Mac OS X human-interface guidelines by dragging user-interface elements from a palette of predefined controls and dropping them into the window or view they are configuring. Interface Builder works closely with Xcode to provide a development experience that facilitates the concurrent but specialized development of an application's user interface and business logic.


Interface Builder is Apple's graphical editor for designing user interface components for both Carbon and Cocoa applications. Interface Builder makes creating an application's user interface easier by allowing developers to use its graphical editing environment to manage virtually every aspect of creating a well designed user interface that adheres to the Aqua user interface guidelines.

Issues

Code Signing

Code signing is enforced on the device starting with beta 4 of the iPhone SDK and iPhone OS. This means that your project will need to contain a valid certificate signing identity that resolves to a valid certificate in your keychain. If there is no valid identity in the project, the code will continue to function on the Simulator, but will fail to execute on any device.


Xcode and developer tools


The iPhone SDK is designed for Intel-based Macs in 32-bit mode; many features will not work on PPC-based Macs or in Intel 64-bit mode

Interface Builder

Not all Cocoa Touch views and controls are supported yet


10 comments:

Surefire Guy said...

Do you know if I have to know "C" and "Objective C" in order to develop iPhone apps and understand the iPhone SDK? Thanks!

Unknown said...

Hi i have gone through above blog its really good and very much for iphone installation purpose and i like to share aboutInfrastructure services play an important role in business transformation which includes the Architectural consulting, design, implementation and operations management for SMB and enterprises.

Aeron chairs said...

It would be hard for me to install the SDK. I hope that you will provide a video on this to fully understand the thought. I will try and have the time of installing this, though quite tough.

cheap international calls said...

Though I am an avid user of an iPhone I am in doubt of installing the SDK; maybe because it is hard for me to understand the procedures. I will have time of installing this SDK on my iPhone or just seek the help of those who are expert on this. My friend told me that this SDK is really beneficial.

Unknown said...

I have been checking your weblog for a whilst now, looks like each day I learn a thing new Thanks.
data recovery irvine ca

Richard Majece said...

I had to hack android device recently and it was difficult. Only info from https://cellspyapps.org/android-hacks/ helped me to get important advices about hacking.

Salvador said...

Combining a hierarchy of personal and specific romantic values is the basis for mutual admiration and respect for partners. Such a relationship can develop only as a result of the combination of hierarchies married-dating.org of values. Thus, respect and admiration are the main conditions for achieving romantic happiness.

Darren Demers said...

Interface Builder is Apple's graphical editor for designing user interface components for both Carbon and Cocoa applications. Interface Builder makes creating an application's user interface easier by allowing developers to use its graphical editing environment to manage virtually every aspect of creating a well designed user interface that adheres to the Aqua user interface guidelines.

web development vancouver ,
website design and development vancouver ,

NathanPass said...

Hi all! Our Hire Microsoft Dynamics ERP Developer Experts | Hire Dynamics Developers are the ones who can make your business better! We provide Microsoft Dynamics outsourcing services so you can get experienced developers ready to help you succeed. Go to our website and find out more!

judefowler764 said...

Secure top-notch AWS engineering expertise with HireIoTDevelopers. We provide access to highly skilled AWS engineers who excel in designing, deploying, and managing AWS-based solutions. Whether you need assistance with cloud architecture, serverless computing, containerization, or infrastructure management, our team of AWS-certified professionals has you covered. Trust HireIoTDevelopers to streamline your AWS projects, optimize performance, and ensure scalability and reliability. With our dedicated AWS engineers, you can harness the full potential of Amazon Web Services and stay ahead in today's digital landscape. Unlock the power of AWS by hiring an experienced AWS engineer through HireIoTDevelopers. Hire AWS Engineer in Ukraine