addLog and sendCrash for iOS