I am using the latest Cordova plugin for Salesforce Mobile and when I try to use Smartsync, my app crashes with

setObjectForKey: object cannot be nil (key: Customfield__c)' exception.

How can I fix this?

  • Are you using latest Cordova plugin? It has been a known issue but resolved last week. – Ashwani Feb 26 '15 at 8:24

Refer to this thread. This was a known issue which is now fixed - Either update your local repo from here or pull down the latest libSmartSync.a file from the repo.

This is the link to the github issue which is now marked as fixed.

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.