ArcGIS Runtime SDK for iOS: Introduction
ArcGIS Runtime SDK for iOS  100.15
Introduction
Try version 200
ArcGIS Runtime SDK for iOS version 100.15 is a long-term support release focused exclusively on bug fixes and minor updates. See the Product Life Cycle document for more information. ArcGIS Maps SDK for Swift version 200 builds on the proven architecture of 100.15, and provides a new API designed exclusively for developing iOS apps using Swift - Apple's modern, powerful, and intuitive programming language.

ArcGIS Runtime SDK for iOS provides an API for developers that allows you to add mapping and GIS functionality to your iPhone and iPad applications. You can use the API in both Objective-C & Swift programming languages.

The API provides a MapView to display 2D geographic content, and a SceneView to display 3D content. You can find geographic content from Esri's ArcGIS Online or use content from your own on-premises ArcGIS Enterprise portals. This content is delivered through REST web services. You can also use geographic content that exists locally on the device when the device is offline.

The API is provided as a framework called ArcGIS. Classes and functions defined in this framework begin with the prefix AGS. This prefix acts as a namespace and prevents naming conflicts with classes defined in your application or other frameworks you use.

You need to use a minimum of iOS 15 SDK to build your applications. Also, the applications you build will require a minimum of iOS 14 running on the device.

Setting up your Xcode project using Swift Package Manager

Swift Package Manager allows you to easily add the ArcGIS framework to your projects as a Swift package.

  • In your Xcode project, go to the File > Swift Packages menu.
  • Select the Add Package Dependency option.
  • Enter https://github.com/Esri/arcgis-runtime-ios as the package repository URL. Click Next.
  • Accept the default version that Xcode presents, or specify a version. Click Next.
  • The ArcGIS framework will be downloaded and integrated into your project as a Swift package. Click Finish.

Finally, add the import ArcGIS statement to your Swift files where you wish to use the API.

Setting up your Xcode project using CocoaPods

If you're already using CocoaPods, setting up your project to use ArcGIS is really easy.

  • Add pod 'ArcGIS-Runtime-SDK-iOS' to your Podfile.
  • Run the command pod install on the Podfile using the Terminal application.
  • Open the project workspace (*.xcworkspace file) and add the #import <ArcGIS/ArcGIS.h> statement to any class files where you wish to use the API.

Setting up your Xcode project manually

Download the SDK from https://developers.arcgis.com/ios . Run the installer, this will install the ArcGIS framework under ${HOME}/Library/SDKs/ArcGIS.

Drag and drop the ArcGIS.xcframework and Runtimecore.xcframework files from ${HOME}/Library/SDKs/ArcGIS/Frameworks directory into the Frameworks, Libraries, and Embedded Content section of your target's General settings.

Finally, add the #import <ArcGIS/ArcGIS.h> statement to your Objective-C files or import ArcGIS statement to your Swift files where you wish to use the API.

Third party libraries

The ArcGIS library depends upon and already includes the following third party libraries -

The functions/classes in these libraries have been renamed/namespaced to avoid conflicts with other versions of the same libraries you may have in your project.