- attempted to fix some ios compilatiion issues