module Nakal module Ios class Screen < Common::BaseScreen private def capture_script xcode_7 = !(%x(instruments -s devices ; echo)).match(' Simulator\)') simulator_app_name = xcode_7 ? "Simulator" : "iOS Simulator" "osascript <