plu / simctl

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

Ruby 3.2 support #38

Closed yabenatti closed 1 year ago

yabenatti commented 1 year ago

simctl doesn't work with Ruby 3.2.

Error:

NoMethodError: undefined method `=~' for false:FalseClass
.gem/ruby/3.2.0/gems/simctl-1.6.8/lib/simctl/device.rb:30:in `!~'
.gem/ruby/3.2.0/gems/simctl-1.6.8/lib/simctl/device.rb:30:in `available?'

The method =~ was removed on Ruby 3.2

plu commented 1 year ago

Just released 1.6.10 that should fix this issue.

yabenatti commented 1 year ago

Thank you!