Migrate All Apps from 13.2 to 14.0

Mobile SDK 14.0 migration is easiest if you use the Salesforce CLI plugin or the Mobile SDK npm scripts.

To upgrade a native Swift or Kotlin app by using an agent skill, see Upgrade with an Agent Skill. The Native iOS and Native Android choices include this option.

Before you begin upgrading, read about new 14.0 features in What’s New in Mobile SDK 14.0.

Native iOS (Swift, Objective-C)

  • Make sure that you installed the supported versions of iOS and Xcode. See iOS Basic Requirements, or use the Set Up Your Mobile SDK Developer Tools Trailhead project.
  • Choose one of these options.
    • Upgrade with an agent skill: For a native Swift app, install the Mobile SDK skills and ask your agent to upgrade the app to Mobile SDK 14.0. See Upgrade with an Agent Skill. The skill for this path is ios-upgrade-mobile-sdk-13-to-14.
    • (Recommended) Use the Salesforce CLI Mobile SDK plugin or the forceios npm script: Recreate your app. For Salesforce CLI, follow the instructions at the command line by typing: sfdx mobilesdk:ios:create help For forceios, follow the instructions in “Updating Native and React Native Apps” at Updating Mobile SDK Apps (5.0 and Later).
    • Use CocoaPods: If you created your app manually by using CocoaPods, see Refreshing Mobile SDK Pods.
    • Do it manually: Manually create a new native template app in Swift. Follow the instructions in Creating an iOS Swift Project Manually.

After you recreate your app:

  • Migrate your app’s artifacts into the new template.
  • Review the list of APIs deprecated for future removal, and address any items that affect your codebase. See iOS Current Deprecations.
  • After a successful build, check compiler warnings for deprecations or other Mobile SDK issues that you missed.
  • Consider adopting new features. See What’s New in Mobile SDK 14.0.
Native Android (Java, Kotlin)

After you recreate your app:

  • Migrate your app’s artifacts into the new template.
  • Review the list of APIs deprecated for future removal, and address any items that affect your codebase until your build succeeds. See Android Current Deprecations.
  • After a successful build, check the compiler warnings for deprecations or other Mobile SDK issues that you missed.
  • Consider adopting new features. See What’s New in Mobile SDK 14.0.
React Native

  • Recreate your app with the Salesforce CLI Mobile SDK plug-in or the forcereact npm script. For Salesforce CLI, follow the instructions at the command line by typing: sfdx mobilesdk:reactnative:create help For forcereact, follow the instructions in “Updating Native and React Native Apps” at Updating Mobile SDK Apps (5.0 and Later).

After you recreate your app:

Hybrid

  • Make sure that you installed the supported versions of the mobile platforms that you’re targeting. See the Set Up Your Mobile SDK Developer Tools Trailhead project.
  • Recreate your app with the Salesforce CLI Mobile SDK plug-in or the forcehybrid npm script. For Salesforce CLI, follow the instructions at the command line by typing: sfdx mobilesdk:hybrid:create help For forcehybrid, follow the instructions in “Updating Hybrid Apps” at Updating Mobile SDK Apps (5.0 and Later).
  • After you recreate your app:

See Also 

We've Moved

Welcome to the new home of the Mobile SDK Developer Guide! For now, the Japanese guide can be found in PDF form.