Skip to content

Commit

Permalink
Create README.md
Browse files Browse the repository at this point in the history
  • Loading branch information
GiampaoloGabba authored Nov 9, 2019
1 parent 8fb3da8 commit 11ca5fe
Showing 1 changed file with 24 additions and 0 deletions.
24 changes: 24 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,24 @@
## Using JetBrains Rider with the iOS Remote Simulator
Enable JetBrains Rider to work with the Remote iOS Simulator for windows, installed with Visual Studio.

### Usage:
Create a new **External tool** in JetBrains Rider:

```Settings --> Tools --> External tools```

- Make sure to have working, established a connection to your mac with the Xamarin Mac Agent
- Edit the `Rider.RemoteSimulator.Win.exe.config` file with the connection details for your mac (host name, username and password)
- Open JetBrains Rider
- In **Tools Settings** select the executable `Rider.RemoteSimulator.Win.exe`
- In **Arguments** insert this: `$ModuleFileDir$`
- Now in your run configuration for iOS simulator, you can add this external tool in the **Before Launch** settings
- Debug and enjoy the Remote Simulator :)

### How it works

When started, this tool execute these step:

1) Read the `workspace.xml` (for current solution) to retrieve the selected simulator in your run configuration
2) Connects to your mac host with the settings provided in `Rider.RemoteSimulator.Win.exe.config`
3) Retrieve the simulators list from xcode to get the right UDID for the selected simulator
4) Launch the Windows Remote Simulator from command line, passing the right UDID

0 comments on commit 11ca5fe

Please sign in to comment.