If CRM for iPad crashes on app startup, login, or initial sync, there are several possible causes.
MDM-installed CRM for iPad Crashes when Opening, but Manually Installed CRM Works
If an Org is set up to install CRM for iPad via Mobile Device Management (MDM) software, and the MDM-installed version of CRM for iPad crashes when opened, users can also try installing CRM for iPad from their Org's homepage install link.
If this manually installed version of CRM for iPad does not crash, this points to an issue with the Org's MDM provisioning profile.
Contact the Org's MDM team to verify that the provisioning profile is correct.
CRM for iPad Crashes When Logging in Using OAuth2
For information on this topic, see the following article:
Other Crashes When Logging In, Starting Up, or Syncing CRM for iPad
Common causes of crashes in these situations include a user lacking Object or Field Level Security access to required objects or fields.
Check the following objects and fields for user access in case of crashes:
- Formatted_Name_vod__c field on the Account object
- Key_Message_vod__c field on the CLM_Presentation_Slide_vod__c object
- Completed_Flag_vod__c field on the Call_Objective_vod__c object
Investigating Crashes using the iOS iPad Simulator
- After the app crashes in the simulator, open the simulator's Debug menu.
- Select the option to Open System Log, and move the system log aside to that the Console is visible. You may need to click the Console while on the System Log panel.
- Navigate to Crash Reports in the Console.
- Look for reports with 'irep' or 'veeva' in the name, and open the most recent matching record. This should be the most recent crash log.
- Right click the process and choose Reveal in Finder to find the log file, which starts with either 'irep' or 'veeva' and ends in 'ips'. The File will start with 'irep' if the Simulator was running an enterprise version of the CRM app, and will start with 'veeva' if running the Apple App Store version of the app.
- Open the ips file in a text editor and look for a line beginning with the words 'Application Specific Information'. If a crash was caused by lack of Object or Field level security, the name of the object or field may be in this information line. If the information is not enough to immediately diagnose the cause of the crash, you can provide this information to Veeva CRM Support in a Support Ticket.
CRM Help Documentation:
Salesforce article: Field-Level Security
Send us your feedback: We are always looking for feedback to help improve our Knowledge Base! Please let us know if this article is helpful or provide feedback on how we can improve your experience by clicking here.