Refreshing Mobile SDK Pods

CocoaPods caches its pods in repos stored locally on your machine. If the pod repo gets out of sync with forceios, you can manually update it.

When forceios creates a native app, it prints a list of installed pods and their versions. For example:

1Installing SalesforceSDKCore (8.0.0)
2Installing SalesforceAnalytics (8.0.0)
3Installing SmartStore (8.0.0)
4Installing MobileSync (8.0.0)

You can compare these versions to your forceios version by typing:

1forceios version

If the reported pod versions are older than your forceios version, run the following commands in the Terminal window:

1pod repo remove forcedotcom
2pod setup

After setup completes, recreate your app with forceios create.

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.