update-ios-deployment-target
Updates configuration files to set the minimum iOS version for the Salesforce Mobile SDK Cordova distribution.
Install
mkdir -p .claude/skills/update-ios-deployment-target && curl -L -o skill.zip "https://agentskills.codes/api/skills/download/12202" && unzip -o skill.zip -d .claude/skills/update-ios-deployment-target && rm skill.zipInstalls to .claude/skills/update-ios-deployment-target
Activation
This is the description your AI agent reads to decide when to run this skill — the better it matches your request, the more reliably it fires.
This skill updates the minimum iOS deployment target for the Salesforce Mobile SDK Cordova Plugin.Key capabilities
- →Update the deployment-target preference for iOS platform in plugin.xml
- →Update minimum iOS version requirements in README.md documentation
- →Verify that source repositories (SalesforceMobileSDK-iOS, SalesforceMobileSDK-iOS-Hybrid) are updated
How it works
The skill updates the iOS deployment target in the Cordova Plugin distribution package by modifying the plugin.xml and README.md files.
Inputs & outputs
When to use update-ios-deployment-target
- →Bump minimum iOS version
- →Update deployment target in plugin.xml
- →Update SDK documentation
About this skill
Update iOS Minimum Deployment Target
This skill updates the minimum iOS deployment target for the Salesforce Mobile SDK Cordova Plugin.
When to Use
- When bumping the minimum supported iOS version for a new SDK release
- Typically done once per major release cycle
- CRITICAL: Must be coordinated with and done AFTER iOS SDK and iOS-Hybrid deployment target updates
What This Skill Does
Updates the iOS deployment target in the Cordova Plugin distribution package:
- plugin.xml - Updates the deployment-target preference for iOS platform
- README.md - Updates minimum iOS version requirements in documentation
Important Context: This repository is a distribution package that aggregates code from multiple source repositories (Shared, iOS-Hybrid, Android). The iOS native code and build configurations are maintained in the iOS-Hybrid repository. Therefore, this skill only updates the Cordova-specific configuration files, not the underlying iOS code.
Prerequisites
CRITICAL: Update Source Repositories First
The following repositories MUST be updated with the new deployment target BEFORE updating the Cordova plugin:
- SalesforceMobileSDK-iOS - Core iOS SDK libraries
- SalesforceMobileSDK-iOS-Hybrid - iOS hybrid bridge layer
Why: The Cordova plugin references iOS-Hybrid libraries via CocoaPods. The iOS-Hybrid repo contains podspecs and build configurations that define the actual deployment target. The plugin.xml preference in this repo tells Cordova what deployment target to configure, but it must match what the underlying iOS libraries support.
Usage
When invoked, ask the user for:
- Current minimum iOS version (e.g., "17.0")
- New minimum iOS version (e.g., "18.0")
- Confirmation that iOS SDK and iOS-Hybrid are updated - Verify with user that source repos have been updated first
Step-by-Step Process
1. Update plugin.xml
In plugin.xml, locate the iOS platform section and update the deployment-target preference:
<platform name="ios">
<config-file target="config.xml" parent="/*">
<preference name="deployment-target" value="X.0" />
Change the value from the old version to the new version (e.g., "17.0" → "18.0").
Location: Line ~42 in plugin.xml
2. Update README.md
In README.md, update all references to the minimum iOS version:
Section: Platform Requirements table (~line 210-212):
| Platform | Minimum Version | Cordova Version |
|----------|----------------|-----------------|
| **iOS** | X.0 | cordova-ios 7.1.1 |
Section: Prerequisites (~line 221):
- iOS X.0+ device or simulator
Post-Update Tasks
- Documentation Review: Ensure all version references are updated
Important Notes
- STOP and FLAG for human review: This is a significant change that affects all hybrid app consumers
- Release timing: Only bump deployment target at major releases, never patches
- Breaking change: Document this in migration guide and release notes
- Source repo dependency: This repo is a distribution package - iOS-Hybrid MUST be updated first
- Coordinated release: This change is part of a cross-repository release process
Historical References
- Check PR history in forcedotcom/SalesforceMobileSDK-CordovaPlugin for previous deployment target updates
- Related updates in source repositories:
- iOS SDK: Check SalesforceMobileSDK-iOS for "bump iOS" commits
- iOS-Hybrid: Check SalesforceMobileSDK-iOS-Hybrid for "bump iOS" commits
Checklist
Before marking complete:
- Confirmed iOS SDK is updated with new deployment target
- Confirmed iOS-Hybrid is updated with new deployment target
- plugin.xml deployment-target preference updated
- README.md updated
Related Documentation
- Cordova Plugin README:
README.mdin this repo - iOS SDK Deployment Target Update: See SalesforceMobileSDK-iOS/.claude/skills/update-ios-deployment-target/
- iOS-Hybrid Deployment Target Update: See SalesforceMobileSDK-iOS-Hybrid/.claude/skills/update-ios-deployment-target/
- Cordova iOS Platform: https://cordova.apache.org/docs/en/latest/guide/platforms/ios/
- Mobile SDK Development Guide: https://developer.salesforce.com/docs/platform/mobile-sdk/guide
When not to use it
- →When the iOS SDK and iOS-Hybrid repositories have not yet been updated with the new deployment target
- →When updating the underlying iOS code, as this skill only modifies Cordova-specific configuration files
Prerequisites
Limitations
- →This skill only updates Cordova-specific configuration files, not the underlying iOS code.
- →The skill must be coordinated with and done AFTER iOS SDK and iOS-Hybrid deployment target updates.
- →This is a distribution package that aggregates code from multiple source repositories.
How it compares
This skill automates the specific file modifications required to update the iOS deployment target in the Cordova plugin, ensuring consistency across configuration and documentation.
Compared to similar skills
update-ios-deployment-target side by side with the closest alternatives in the catalog.
| Skill | Installs | Updated | Safety | Difficulty |
|---|---|---|---|---|
| update-ios-deployment-target (this skill) | 0 | 4mo | No flags | Intermediate |
| build-macos-apps | 70 | 8mo | Review | Intermediate |
| miniprogram-development | 37 | 2mo | No flags | Intermediate |
| ios-developer | 10 | 3mo | No flags | Advanced |
Try saying
Example prompts that trigger this skill in your AI assistant.
More by forcedotcom
View all by forcedotcom →You might also like
build-macos-apps
glittercowboy
Build professional native macOS apps in Swift with SwiftUI and AppKit. Full lifecycle - build, debug, test, optimize, ship. CLI-only, no Xcode.
miniprogram-development
TencentCloudBase
WeChat Mini Program development rules. Use this skill when developing WeChat mini programs, integrating CloudBase capabilities, and deploying mini program projects.
ios-developer
sickn33
Develop native iOS applications with Swift/SwiftUI. Masters iOS 18, SwiftUI, UIKit integration, Core Data, networking, and App Store optimization. Use PROACTIVELY for iOS-specific features, App Store optimization, or native iOS development.
expo-deployment
sickn33
Deploy Expo apps to production
stac-quickstart
StacDev
Help initialize and validate a Stac-enabled Flutter project and ship a first server-driven screen. Use when users ask to set up Stac CLI, run stac init/build/deploy, verify project prerequisites, or troubleshoot first-run setup and missing configuration files.
developing-ios-apps
daymade
Develops iOS applications with XcodeGen, SwiftUI, and SPM. Triggers on XcodeGen project.yml configuration, SPM dependency issues, device deployment problems, code signing errors, camera/AVFoundation debugging, iOS version compatibility, or "Library not loaded @rpath" framework errors. Use when building iOS apps, fixing Xcode build failures, or deploying to real devices.