Skip to content

Commit

Permalink
Fixes #9
Browse files Browse the repository at this point in the history
  • Loading branch information
enriquez committed Sep 17, 2013
1 parent f5d6724 commit dd0fc3c
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion lib/uiauto/simulator.rb
Original file line number Diff line number Diff line change
Expand Up @@ -43,7 +43,7 @@ def self.close
end

def self.open(simulator = nil)
xcode_path = `xcode-select -p`.strip
xcode_path = `xcode-select --print-path`.strip
simulator_path = File.join(xcode_path, "/Platforms/iPhoneSimulator.platform/Developer/Applications/iPhone Simulator.app")

`open "#{simulator_path}"`
Expand Down

1 comment on commit dd0fc3c

@enriquez
Copy link
Owner Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

oops. I meant #8

Please sign in to comment.