Skip to content

Instantly share code, notes, and snippets.

private_lane :perform_tests_run do |options|
devices = options[:devices] || ['iPhone 13 (15.2)', 'iPhone 8 (12.4)']
scan(
scheme: options[:scheme],
devices: devices,
ensure_devices_found: true,
reset_simulator: true,
fail_build: !is_ci, # do not fail the lane since we want test results to be published
# disable scan output since we need to generate a JUnit report with trainer
# scan supports only xcpretty (doesn't work correctly with parallel test runs) and xcbeautfiy (doesn't generate neither JUnit nor HTML reports)
@Austinate
Austinate / REMAP_M1_KEYS.MD
Created January 4, 2023 12:06 — forked from zats/REMAP_M1_KEYS.MD
Apple M1 MacBook Do Not Disturb Key remapping

Following is a sample of LaungAgent that remaps do not disturb key to Siri (I am using Type to Siri)

This is a lightweight solution not relying on external apps.

Setting up

  1. Create ~/Library/LaunchAgents/com.local.KeyRemapping.plist
  2. Edit it to have following content