Need help with SalesforceMobileSDK-iOS?
Click the “chat” button below for chat support from the developer who created it, or find similar developers for support.

About the developer

forcedotcom
472 Stars 388 Forks Other 10.1K Commits 13 Opened issues

Description

iOS SDK for Salesforce

Services available

!
?

Need anything else?

Contributors list

# 167,403
Shell
Objecti...
HTML
iOS
1651 commits
# 133,201
cordova
Objecti...
Node.js
ionic
1276 commits
# 180,433
Mobile
cordova
Node.js
iOS
1101 commits
# 257,933
Shell
HTML
iOS
Mobile
652 commits
# 369,653
Shell
C
Objecti...
238 commits
# 409,546
Shell
C
Objecti...
160 commits
# 355,292
Shell
vscode-...
salesfo...
HTML
126 commits
# 444,792
Shell
C
Objecti...
121 commits
# 402,788
HTML
Shell
C
116 commits
# 347,646
Shell
HTML
iOS
Mobile
95 commits
# 489,885
Shell
C
Objecti...
78 commits
# 463,879
Objecti...
Shell
C
44 commits
# 274,508
TypeScr...
Shell
voice-r...
Android
40 commits
# 556,207
Shell
C
Objecti...
39 commits
# 550,840
Shell
C
Objecti...
39 commits
# 22,097
Objecti...
Swift
macOS
wwdc
38 commits
# 543,956
PHP
salesfo...
Shell
C
27 commits
# 595,684
Shell
C
Objecti...
25 commits
# 139,300
Shell
C
HTML
React
22 commits
# 606,520
Shell
C
Objecti...
21 commits

Salesforce.com Mobile SDK for iOS

CircleCI codecov 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:

  • If you'd like to work with the source code of the SDK itself, you've come to the right place! You can browse sample app source code and debug down through the layers to get a feel for how everything works under the covers. Read on for instructions on how to get started with the SDK in your development environment.
  • If you're just eager to start developing your own new application, the quickest way is to use our npm distribution package, called forceios, which is hosted on npmjs.org. Getting started is as simple as installing the npm package and launching your template app. You'll find more details on the forceios package page.

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:

  • Open the Terminal App
  • cd
    to the parent directory where the repo directory will live
  • git clone https://github.com/forcedotcom/SalesforceMobileSDK-iOS.git

After cloning the repo:

  • cd SalesforceMobileSDK-iOS
  • ./install.sh

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 11.0 or greater. The install.sh script checks for this, and aborts if the configured SDK version is incorrect.

Introduction

What's New in 9.1.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 Salesforce StackExchange.

We use cookies. If you continue to browse the site, you agree to the use of cookies. For more information on our use of cookies please see our Privacy Policy.