The Salesforce Developers website will undergo maintenance on May 29, 2024 from 3:00 a.m. UTC to 10:00 a.m. UTC. The maintenance process may affect the availability of our documentation. Please plan accordingly.

iOS Native Quick Start

  1. Make sure you meet the native iOS requirements.

  2. Create a project in the style that you prefer:

    Wizard Style (Recommended)

    To create a project with forceios, CocoaPods, node.js, and npm:

    • Install nodejs (includes npm)—https://nodejs.org
    • Install CocoaPods, latest version—https://www.cocoapods.org.
    • Using npm, install forceios. (npm is automatically installed with nodejs).
    • In a Terminal window, use forceios to create an app.
    Semi-Manually

    To add Mobile SDK Swift template files, libraries, and settings to an Xcode template project without using forceios and its third-party dependencies, see Creating an iOS Swift Project Manually, option 1.

    Fully Manually

    To manually recode an Xcode Swift template project as a Mobile SDK project, without using forceios and its third-party dependencies, see Creating an iOS Swift Project Manually, option 2.

For help with setup and installation, check out Set Up Your Mobile SDK Developer Tools in Trailhead.