add-mobile-sdk-ios

Integrate Salesforce iOS SDK into Swift apps with CocoaPods or Swift Package Manager.

58|63|Updated Oct 26, 2016
One-click install
npx skills add https://github.com/forcedotcom/SalesforceMobileSDK-Templates --skill add-mobile-sdk-ios
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: add-mobile-sdk-ios
Source: https://github.com/forcedotcom/SalesforceMobileSDK-Templates/tree/main/.claude/skills/add-mobile-sdk-ios
Command: npx skills add https://github.com/forcedotcom/SalesforceMobileSDK-Templates --skill add-mobile-sdk-ios

SYSTEM DOCUMENTATION & REQUIREMENTS

💡 This Skill includes scripts (resource) and references (resource) components.

What problem does it solve?

This Skill streamlines the process of adding Salesforce Mobile SDK to an existing iOS Swift application, simplifying dependency management and configuration setup.

Core Features & Use Cases

  • Dependency Integration: Adds SDK dependencies via CocoaPods or Swift Package Manager, ensuring proper setup and compatibility.
  • Project Configuration: Creates necessary launch storyboard, configuration plist, and updates Info.plist with OAuth details.
  • SDK Initialization: Modifies AppDelegate and SceneDelegate to initialize the SDK and handle user authentication workflows.
  • Use Case: Developers can quickly enable Salesforce login capabilities within their app, facilitating user authentication and data access.

Quick Start

Guide the AI to add Salesforce Mobile SDK into your existing iOS app, set up dependencies, configuration files, and update app delegates for authentication support.

Frequently Asked Questions about add-mobile-sdk-ios

High-intent search queries and answers about installing and using this skill.

FAQPage Schema
How do I integrate the Salesforce Mobile SDK into my existing iOS Swift app?

To integrate the Salesforce Mobile SDK, you need to add dependencies via CocoaPods or Swift Package Manager, create configuration plists, and update AppDelegate and SceneDelegate for SDK initialization and authentication. This automates OAuth setup and project configuration.

Does the Salesforce iOS SDK support Swift Package Manager for dependency management?

Yes, the Salesforce iOS SDK integration supports Swift Package Manager alongside CocoaPods. This ensures proper dependency setup and compatibility within your Swift application environment for seamless authentication workflows.

What configuration files are required to set up Salesforce authentication in iOS?

Setting up Salesforce authentication requires creating a launch storyboard, a configuration plist, and updating your Info.plist with OAuth details. These files manage the user authentication workflow and SDK initialization.

How does the Salesforce iOS SDK handle user authentication workflows?

The Salesforce iOS SDK handles user authentication by modifying AppDelegate and SceneDelegate to initialize the SDK. This setup manages OAuth details and enables Salesforce login capabilities within your application.

Can I add Salesforce login capabilities to an existing iOS app without rebuilding it?

Yes, you can add Salesforce login capabilities to an existing iOS app by integrating the SDK dependencies, updating project files like Info.plist, and modifying app delegates for authentication support without a full rebuild.

What are the limitations of using Salesforce Mobile SDK for iOS authentication?

The Salesforce Mobile SDK integration requires modifying existing project files, code updates, and resource additions. It is specifically designed for Swift applications and requires compatibility with either CocoaPods or Swift Package Manager environments.