Support for iOS logs for devices and simulators

Fix after comments by @jlipps

Fix require section
Merge pull request #1413 from ecomrobotics/ios-logs

Support for iOS logs for devices and simulators