Home

Awesome

Salesforce.com Mobile SDK for iOS

CircleCI Known Vulnerabilities GitHub release (latest SemVer)

You have arrived at the source repository for the Salesforce Mobile SDK for iOS. Welcome! There are two ways you can choose to work with the Mobile SDK:

Installation (do this first - really)

Working with this repository requires working with git. Any workflow that leaves you with a functioning git clone of this repository should set you up for success. Downloading the ZIP file from GitHub, on the other hand, is likely to put you at a dead end.

Setting up the repo

First, clone the repo:

After cloning the repo:

This script pulls the submodule dependencies from GitHub, to finalize setup of the workspace. You can then work with the Mobile SDK by opening SalesforceMobileSDK.xcworkspace from Xcode.

The Salesforce Mobile SDK for iOS requires iOS 15.0 or greater. The install.sh script checks for this, and aborts if the configured SDK version is incorrect.

Introduction

What's New in 12.2.0

See release notes.

Native Applications

The Salesforce Mobile SDK provides the essential libraries for quickly building native mobile apps that interact with the Salesforce cloud platform. The OAuth2 library abstracts away the complexity of securely storing the refresh token or fetching a new session ID when it expires. The SDK also provides wrappers for the Salesforce REST API that you can use from both Swift and Objective-C.

Documentation

Discussion

If you would like to make suggestions, have questions, or encounter any issues, we'd love to hear from you. Post any feedback you have on the Mobile SDK Trailblazer Community.