2010年8月29日周日_Installation_2

/**************************************************/

//Installation

//2010年8月29日

/*************************************************/

What You Need Before You Can Begin

Before you can begin writing iPhone applications with the ArcGIS API for iOS, you will need a few things.

在开始之前你需要那些东西?

在你开始使用ArcGIS API for iOS编写你的iPone应用程序的时候,你需要一些配置:

Machine Requirements

Development using the ArcGIS API for iOS requires an Intel-based Macintosh running Leopard (OS X 10.5) or Snow Leopard (OS X 10.6).

If your Mac is not running a supported OS X version, you will need to upgrade. Please refer to the Mac OS X Technical Specification to determine whether or not your machine supports upgrading.

所需要的设备:

使用ArcGIS API for iOS的开发需要一个基于itelCUP的配置有Leopard (OS X 10.5) or Snow Leopard (OS X 10.6).操作系统的Macintosh苹果机器。

如果你的苹果计算机没有运行一个支持的OSX版本,你需要更新。 请查看Mac OS X Technical Specification 来决定你的计算机是否支持升级(提升)

Device Requirements

Applications built with ArcGIS API for iOS can be run on iPhone 3G, iPhone 3GS, iPhone 4, iPod touch, and iPad devices. These devices must be running iOS version 3.1.2 or higher ( iOS 4 is also supported where available). We strongly recommend that you test your applications on actual devices to ensure that they work as expected and perform well. Testing on the simulator alone does not provide a good measure of how the application will perform on the physical device.

需要的设备:

使用ArcGIS API for iOS创建的应用程序可以运行在iPone 3GiPone3GSipone4ipod touch ipad devices等设备上面。 这些设备必须运行IOS3.1.2版本或者更高的版本。我们强烈建议在一个设备上面测试你的应用程序,保证他们能够像期望的那样正常的工作并且运行良好。在模拟器上面的测试并不能提供一个关于你的应用程序在一个物理设备上面的表现的衡量结果。

iPhone SDK

If you are not one already, you will need to become a registered iPhone developer. Apple requires this step before you're allowed to download the iPhone SDK.

To sign up, navigate to the iPhone Developer Program page and enroll.

Once registered, you can then go to the iPhone Developer Site, log in and download the iPhone SDK onto your machine. Make sure to click on the "Snow Leopard" download link. Note that XCode (the developer toolset for iPhone development) is included in the download as well so you do not need to purchase(购买) any developer tools to build iPhone applications - that is included in the enrollment fee.

Ipone 开发包

如何你还没有准备好,那么你将需要注册为一个ipone开发者。 Apple要求在你成能够下载ipone SDK之前注册成为开发者。

To sign up,导航到iPhone Developer Program 页面并注册用户。

一旦注册,你就可以去iPhone Developer Site,登录并下载iponeSDK到你的个人计算机。确保单击“Snoe leopard”下载连接。 注意:Xcode(提供ipone开发环境的开发工具)包含在下载包里面,因此你不需要额外购买任何的开发工具来开发你的应用程序,因为他已经包含在注册成本里面了。

Installing the ArcGIS iPhone API

Once you have installed the iPhone SDK, you will need to download and install the ArcGIS API for iOS SDK. This can be found at the iPhone Resource Center.

安装ArcGIS IPONE API

    一旦你安装了Ipone SDK,你就需要下载并安装那个ArcGIS API for IOS 开发包,它可以在这里找到:iPhone Resource Center

Note:

The ArcGIS API for iOS is compiled using the iPhone SDK 4. You will need to use iPhone SDK 4 or 3.2 to develop your applications. However, you can still run your applications on older devices by appropriately configuring the iPhone OS Deployment Target build setting in your XCode project. Be sure to add runtime checks where appropriate to ensure that the iOS features you use in the application are available on the target platform/device. If the features are not available, your application should follow an alternate code path otherwise it might crash on the device.

注意:ArcGIS API for iOS 是使用Ipone SDK 4进行编译的。 你见需要使用ipone sdk 4.0或者3.2开发你的应用程序,尽管如此,你仍然可以运行你的应用程序在以前的设备,但是他需要在你的Xcode工程中对iPhone OS Deployment Target进行合理的配置。确保安装一个检查,保证你在应用程序中使用的Features在目标平台或者设备中是可以获取的。 如果feature无法获取,你的应用程序应该跟从另外一个代码路径,否则你的应用就会在设备上崩溃。

原文地址:https://www.cnblogs.com/xingchen/p/1812322.html