About Xcode and iPhone SDK

5 pages
102 views

Please download to get full document.

View again

of 5
All materials on our website are shared by users. If you have any questions about copyright issues, please report us to resolve them. We are always happy to assist you.
Share
Description
 About Xcode for Mac, iPad, and iPhone Xcode 3.2.2 developer tools for Mac SDK 10.6 and iPhone SDK 3.2 Contents Introduction Compatibility What's New Installation Deprecation Notice Introduction Xcode is the complete developer toolset for creating Mac OS X and iPhone OS applications. This package installs the Xcode IDE, performance analysis tools, iPhone Simulator, and OS framework bundles in the form of Mac SDKs and iPhone SDKs. We encourage developers to join the iPhone Developer Program for
Tags
Transcript
   About Xcode for Mac, iPad, and iPhone Xcode 3.2.2 developer tools for Mac SDK 10.6 and iPhone SDK 3.2Contents IntroductionCompatibilityWhat's NewInstallationDeprecation Notice Introduction Xcode is the complete developer toolset for creating Mac OS X and iPhone OSapplications. This package installs the Xcode IDE, performance analysis tools, iPhoneSimulator, and OS framework bundles in the form of Mac SDKsand iPhone SDKs.We encourage developers to join the iPhone Developer Program for access toadditional support and documentation, as well as provisioning resources to enabledevelopment on an iPhone, iPod touch, or iPad device. For more information visit: !! http://developer.apple.com/iphone/program/ Compatibility: Xcode 3.2 requires an Intel-based Mac running Mac OS X SnowLeopard version 10.6.2 or later. Note: some distributions of Xcode do not include theiPhone SDKs; you can verify their presence in the Installer ʼ s “Custom Install” pane. What's New ã Xcode 3.2.2 adds support for developing iPad and Universal iPad/iPhone apps ã New menu option: Project -> Upgrade Current Target for iPad...ãTo configure Universal apps that run on both iPad and iPhone, in Build Settings:- set Base SDK   in the Architectures section to “iPhone SDK 3.2”- set iPhone OS Deployment Target to iPhone OS 3.1.3 or earlier ã For iPad-only development, use iPhone SDK 3.2 and target iPhone OS 3.2 ã For iPhone-only, use iPhone SDK 3.1.3 and target iPhone OS 3.1.3 or earlierãBe sure to set Targeted Device Family to iPad, iPhone, or iPhone/iPad  About SDKs and the iPhone Simulator This package includes two types of SDKs: Mac and iPhone. The Mac OS X SDKsinclude frameworks and headers that allow you to target the corresponding Mac OS Xversion number. The iPhone SDK works similarly, but also includes additional featuressuch as bundled compilers, and the iPhone Simulator.There are two important settings in the build system related to SDKs and the OS youare targeting: the Base SDK, and the Mac OS X or iPhone OS Deployment Target. TheBase SDK refers to the sets of frameworks used to build your application, and shouldusually be the most recent. The Deployment Target refers to the minimum OS you wishto support with your application, perhaps one major release back. NOTE : the Simulator will always run an iPhone OS version that matches the Base SDKused to build your app, regardless of your iPhone OS Deployment Target choice.For final qualification on a specific version of iPhone OS you must test on a device. New in Xcode ãThe assistant interface has been completely revamped, making it easier to create New Project , New Target , and New File resources. This release of Xcodealso adds new assistant templates for both Mac OS X and iPhone OSapplications.ãNew optional LLVM compiler uses the much faster Clang front-end parsercoupled with the LLVM back-end compiler for fast compiles and fast executablecode. The LLVM GCC 4.2 compiler benefits from the improved back-end codegeneration of LLVM, but uses the GCC 4.2 parser to maintain backwardcompatibility and add C++ support. The LLVM compiler will fall back to usingLLVM GCC 4.2 when it encounters C++ code.ãNew build menu item “Build and Analyze” will generate build warnings using thenew static analyzer, identifying potential coding mistakes by analyzing mostpossible code paths. These build warnings can also be viewed using the newmessage bubbles which, when clicked, will display arrows that walk through thesteps that can create the coding error.ãNew, less-obtrusive message bubbles stay right-justified and take up less roomwithin the editor window, without re-flowing the source code.ãNew build results window persists results so that old warnings are not lost,allowing a quit and re-launch of Xcode to more easily return to the previous state.ãNew “Quick Help” feature (option-double-click on an API) gives instant access tothe most common documentation information, replacing the Research Assistant.Quick Help will disappear when focus is changed, or the window may be draggedto a more docked position on the screen.  ãDocumentation is now downloaded from the web by default after installation, andwill be automatically updated in the background. If you do not wish to downloadthe documentation to save disk space, you may uncheck the the documentationat install time and the docs will instead be viewed from an online server.ãNew Developer Documentation window presents search results along the side bycategory, making it easier to navigate the search results.ãA new Overview toolbar item lets you see and set the project's active Target,Configuration, Executable, Architecture, and SDK with a single control.ãSetting Architectures and SDKs are now done with provided pop-up lists ratherthan manually entered strings or long paths.ãIt is now easier to add known frameworks to your projectãThe source code editor now allows you to Edit All In Scope , to edit all instancesof a symbol in a particular scope.ãBuild settings can be set for any combination of architecture and SDK.ãGCC 4.2 is the default system compiler for the 10.6 SDKãUsing the LLVM compiler requires the 10.6 SDKãUsing LLVM GCC or GCC 4.2 requires the 10.5 SDK or 10.6 SDKFor the latest security information visit: http://support.apple.com/kb/HT1222 For more detailed information please see the complete Xcode release notes. Installation The Xcode and iPhone SDK installer provides six options for configuring the installationfrom the “Customize...” button:ã Essentials. Contains the essential components of Xcode, installed by defaultin /Developer or another directory of your choice, including external volumes.ã iPhone SDK. Contains the iPhone SDK, tools, and iPhone Simulatorã System Tools. Includes CHUD performance tools. Its components are alwaysplaced in /Developer.ã UNIX Development. Command-line tools used for UNIX-based development. Itscomponents are always placed in /usr - only one version installed at a time.ã Documentation. Configures Xcode to automatically download updates todeveloper documentation. If left unchecked the documentation will be read fromthe web instead of the local disk. Can be changed via Preferences.ã Mac OS X 10.4 SDK. This option, off by default, adds support for developingapplications that target Mac OS X 10.4 APIs.  Throughout this document   <Xcode> refers to the path in which the Developer ToolsEssentials components are installed.You can now have multiple versions of the Xcode toolset installed. You can move orrename the <Xcode> directory, but must not alter its internal structure. If you need torefer to a developer application from a different directory, it is best to use an alias orsymbolic link for the full path. NOTE: Only one version of the System Tools and the UNIX Development Supportcomponents can be installed on a computer at a time. The last installed set of thesecomponents replaces any previously installed set. Custom Install: Step-by-Step By default, Xcode installs in /Developer with previous versions automaticallyupgraded. To keep a previously installed version of Xcode, you must either select Custom Install and specify a new <Xcode> directory, or rename the existing Xcodehome directory ( /Developer ) before installing this new version. See step 4 below.1.Boot into a partition with the required Mac OS X 10.6 version, or later installed.2.Download the Xcode installation package.3.Double-click on the .mpkg Installer package (icon is an open brown box) . 4.To install Xcode in a directory other than the default /Developer , you mustspecify a new <Xcode> directory name on the Custom Install pane ⁃ Select the folder icon under Location next to the Essentials package. ⁃ Select Other... at the top of the pop-up. ⁃ Navigate to the location for the new <Xcode> folder. Select New Folder . ⁃ Enter a folder name in the New Folder window; Select Create . ⁃ Finally, select Choose in the Install Xcode Tools pane.5.Authenticate as an administrative user. The first user you create when setting upMac OS X has administrator privileges by default.
Related Search
We Need Your Support
Thank you for visiting our website and your interest in our free products and services. We are nonprofit website to share and download documents. To the running of this website, we need your help to support us.

Thanks to everyone for your continued support.

No, Thanks