Does anyone know of a good way to figure out which version of the Salesforce iOS Mobile SDK an existing iOS app is running? I believe it was generated using the forceios npm package, but that npm installation is long since gone.

Thanks, Mike

1 Answer 1


There is a file called SalesforceSDKConstants.h in the SalesforceSDKCore directory.

You can: #import "SalesforceSDKConstants.h" and then later NSLog(@"%@",SALESFORCE_SDK_VERSION); . I was on 2.0.1, so this is valid for that version at least.

You must log in to answer this question.

Not the answer you're looking for? Browse other questions tagged .