Support for iOS logs for devices and simulators

Fix after comments by @jlipps

Fix require section