plu / simctl

Ruby interface to xcrun simctl
http://www.rubydoc.info/gems/simctl
MIT License
104 stars 19 forks source link

Update hardware keyboard #6

Closed UnsafePointer closed 7 years ago

UnsafePointer commented 7 years ago

Since Xcode 6, the iOS simulator has an option to "Connect Hardware Keyboard". This is enabled by default and will cause the keyboard to not appear as soon as you use the keyboard on your mac to input on the simulator until to toggle the feature.

screen shot 2016-11-23 at 14 28 26

This leads to inconsistency on our snapshot tests on CI, as we can't predict the state of this feature, so it's safer to seed the value before launching the simulator.

The details about the solution can be found in https://github.com/calabash/run_loop/pull/57

coveralls commented 7 years ago

Coverage Status

Coverage increased (+0.02%) to 97.0% when pulling 4f45d539c00175b42773c9fb6c385362f210ef74 on Ruenzuo:update_hardware_keyboard into 7761facc556afc856335c7845bace4805ed7629e on plu:master.

coveralls commented 7 years ago

Coverage Status

Coverage increased (+0.02%) to 97.0% when pulling 4f45d539c00175b42773c9fb6c385362f210ef74 on Ruenzuo:update_hardware_keyboard into 7761facc556afc856335c7845bace4805ed7629e on plu:master.

plu commented 7 years ago

Thank you 👍

plu commented 7 years ago

Pushed simctl 1.5.5 to rubygems.org.