IPhone SDK 3.0 beta 4 Read Me
出自ZOZ Wiki
目录 |
iPhone SDK for iPhone OS 3.0 beta 4 - Readme
iPhone SDK and Xcode 3.1.3 Developer Tools for iPhone OS 3.0
Contents
Introduction Compatibility with Mac OS X Versions What's New Installation Deprecation Notice
Introduction
This fourth beta of iPhone SDK for iPhone OS 3.0 includes the complete set of Xcode 3.1.3 tools, compilers, and frameworks for creating applications for both iPhone OS 3.0 and Mac OS X. These tools include the Xcode IDE and the Instruments analysis tool, among many others. With this software you can develop applications that run on the iPhone and iPod touch using the included iPhone Simulator for iPhone OS 3.0.
We encourage developers to apply to the iPhone Developer Program for access to additional support resources, as well as access to a certificate that enables development directly on an iPhone or iPod touch. For more information visit:
http://developer.apple.com/iphone/program/
NOTE: Applications being developed for the App Store should continue to use the generally available iPhone SDK for iPhone OS 2.2.1 final release.
Compatibility with Mac OS X Versions
iPhone SDK will run on Intel-based Macs running Mac OS X 10.5.6 or later. Xcode 3.1.3 is also available separately for Intel and PowerPC Macs to develop for Mac OS X, targeting Mac OS X v10.3 Panther and Universal applications for Mac OS X v10.4 Tiger and Mac OS X v10.5 Leopard using the Mac OS X SDK support.
Known Issues
• Issues with SDK selection and the overview pop-up, present in the previous beta, have been fixed for this beta 4 release. Please see the complete iPhone SDK and Xcode 3.1.3 release notes for more detailed information on this release.
About SDKs
Xcode 3.1 and later have extended the concept of an SDK (software development kit) to enable Xcode to build, debug, and deploy applications for platforms completely different from that of the host computer. This is possible by bundling a complete set of low-level compilers and tools within the SDK, in addition to platform frameworks. Within Xcode you can choose specific Mac OS X SDKs to create applications that run on particular versions of Mac OS X, or use the iPhone SDK to build applications for the iPhone Simulator, the iPhone, or iPod touch. The tools included with the SDK will upload your application to a device, and debug directly from the IDE. Xcode is included as part of the iPhone SDK installer, and is also available separately with only the Mac OS X SDKs for Mac-only developers.
New in Xcode IDE 3.1 and later
- The assistant interface has been completely revamped, making it easier to create
"New Project", "New Target", and "New File" resources. This release of Xcode also adds new assistant templates for both Mac OS X and iPhone OS applications.
- A new Overview toolbar item lets you see and set the project's active Target,
Configuration, Executable, Architecture, and SDK with a single control.
- It is now possible to set a global "override" SDK as the Active SDK, making it
easy to test the build of your entire project against a different platform.
- New interface shortcuts have been added to the Build Setting inspectors making
it easy to set the desired compiler, architectures, and SDKs
- You can now add Libraries and Frameworks directly into the Target window and
relate them to the project's SDK.
- The Xcode UI now allows you to designate a library or framework as weaklinked,
to support building with newer SDKs while targeting older OS versions.
- New "Edit all in scope" option within the Xcode source editor makes it easy to
update all instances of the selected symbol within the current scope of code.
- You can now have conditional build settings assigned for any combination of
architecture and SDK.
- LLVM GCC 4.2 is a new optional compiler based on the LLVM.org open source
project. LLVM GCC 4.2 provides an LLVM-based back-end optimizer using the GCC 4.2 front-end parser. This compiler is both source and binary compatible with GCC 4.2 and requires the Mac OS X 10.5 SDK or "Current OS" SDK.
- GCC 4.2 is a new optional compiler with stricter C and C++ language
enforcement, security enhancements, performance optimizations, and bug fixes over GCC 4.0. Requires the Mac OS X 10.5 SDK or "Current OS" SDK
New in Interface Builder 3.1
- New drag & drop functionality allows easily re-parenting objects with the normal
drag gesture
- The document outline view has been enhanced to support full drag re-ordering.
- A new string table interface allows localizers to make quick text changes across
documents.
- Generates XIB files that are more diff friendly while retaining full backwards
compatibility with Interface Builder 3.0.
- Now supports previewing image resource content in Carbon controls.
New in Dashcode
- You can now use Dashcode to create web applications optimized for the iPhone,
as well as Dashboard widgets. For security information related to Xcode: http://support.apple.com/kb/HT1222
Installation
NOTE: iPhone SDK will run on Intel-based Macs running Mac OS X v10.5.4 and later.
The installer provides four main options for configuring the installation:
- Developer Tools Essentials. Contains the essential components of Xcode. Itʼs
installed in /Developer by default or another directory of your choice, including external volumes.
- iPhone SDK. Contains the iPhone software development kit software extension
to Xcode. You must accept both software license agreements in the installer in order to install this.
- Developer Tools System Components. Includes CHUD performance tools. Its
components are always placed in /Developer.
- UNIX Development Support. Command-line tools used for UNIX-based
development. Its components are always placed in /usr. Throughout this document <Xcode> refers to the path in which the Developer Tools Essentials components are installed. You can now have multiple versions of Xcode installed. You can move or rename the <Xcode> directory, but must not alter its internal structure.
NOTE: Only one version of the Developer Tools System Components and the UNIX Development Support components can be installed on a computer at a time. The last installed set of these components replaces any previously installed set.
Step-by-Step Installation Instructions
Note: With Mac OS X 10.5 Leopard, by default Xcode is installed in /Developer. If you want to keep a previously installed Xcode 3.x and still install Xcode 3.1.3, you must either do a "Custom Install" of Xcode 3.1.3 and specify a new <Xcode> directory name (e.g. Xcode3.1.3) or you must move the pre-existing /Developer directory to a new name (e.g. Xcode3.0) before you install Xcode 3.1.3. See step 5 below.
- Boot into a partition with the Mac OS X v10.5.6 or later installed.
- Download the iPhone SDK DVD software.
- Double-click on iPhone SDK.
- Follow the instructions in the Installer.
- To install Xcode 3.1.3 in a directory other than the default /Developer, you
must specify a new <Xcode> directory name on the "Custom Install" pane
- Select the folder icon under "Location" next to the "Developer Tools
Essentials" package name.
- 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; e.g. Xcode3.1.3. Select
"Create".
- Finally, select "Choose" in the "Install Xcode Tools" pane.
- Authenticate as the administrative user. The first user you create when setting up
Mac OS X has administrator privileges by default.
Once the installation is complete, you can access the documentation by launching Xcode and choosing any of the items in the Help menu. Developer applications such as Xcode, Instruments, and Interface Builder are installed in <Xcode>/Applications.
To download new documentation sets to your computer, from within the Xcode Documentation window ( click Help -> Documentation ) click the Get button beside the desired documentation set. To have the documentation regularly updated with the latest version, click the Subscribe button beside the desired documentation set.
All documentation is available online through http://developer.apple.com/ , with iPhone OS documentation available through the iPhone Dev Center.
Uninstalling iPhone SDK and Xcode Developer Tools
To uninstall iPhone SDK and Xcode developer tools on the boot volume along with the <Xcode> directory, from a Terminal window type:
$ sudo <Xcode>/Library/uninstall-devtools --mode=all
If you just want to remove the underlying developer content on the boot volume, but leave the <Xcode> directory and supporting files untouched, from a Terminal window type:
$ sudo <Xcode>/Library/uninstall-devtools -- mode=systemsupport
If you just want to just remove the UNIX development support on the boot volume, but leave the <Xcode> directory and supporting files untouched, from a Terminal window type:
$ sudo <Xcode>/Library/uninstall-devtools --mode=unixdev
Finally, to just uninstall the <Xcode> directory you can simply drag it to the trash, or from a Terminal window type:
$ sudo <Xcode>/Library/uninstall-devtools --mode=xcodedir
Deprecation Notice
NOTE: As of the release of Xcode 2.4, the Cocoa Java bridge has been deprecated. This means that, while still supported with Xcode 2.4, starting with this release the Cocoa Java bridge is no longer supported. Due to this, the following additional WebObjects developer applications have been removed: EOModeler EOModeler Plugin WebObjects Builder WebServices Assistant RuleEditor WOALauncher
Xcode Java bridge templates have been deprecated, and should not be used for new Java bridge-based development.
The following directories inside the Xcode are deprecated and will be removed in a future version of the Xcode developer tools:
<Xcode>/Tools (content will move to <Xcode>/usr/bin) <Xcode>/Makefiles (content will move to <Xcode>/usr/share/
makefiles in a future release)
<Xcode>/Private (content will be removed in a future release)
© 2009 Apple Inc. All rights reserved. Xcode, Apple, the Apple logo, Mac, Mac OS, and Macintosh are trademarks of Apple Inc., registered in the U.S. and other countries.

