Просмотр исходного кода

Added more instructions for connecting via USB

Björn Ritzl 6 лет назад
Родитель
Сommit
0916da1381
2 измененных файлов с 17 добавлено и 8 удалено
  1. 15 6
      docs/en/manuals/dev-app.md
  2. 2 2
      docs/en/manuals/hot-reload.md

+ 15 - 6
docs/en/manuals/dev-app.md

@@ -1,6 +1,6 @@
 ---
 title: Running the development app on device
-brief: This manual explains how to put the development app on your device for iterative wireless development on device.
+brief: This manual explains how to put the development app on your device for iterative development on device.
 ---
 
 # The mobile development app
@@ -54,7 +54,7 @@ The development "dmengine" app is now available on the device.
 
 ## Launching your game
 
-To launch your game on your device, the dev app and editor must be able to connect, over the same wifi network or in some cases also using USB (see below).
+To launch your game on your device, the dev app and editor must be able to connect, over the same wifi network or using USB (see below).
 
 1. Make sure the editor is up and running.
 2. Launch the dev app on the device.
@@ -64,14 +64,23 @@ To launch your game on your device, the dev app and editor must be able to conne
 
 ![launch](images/dev-app/launch.png)
 
-### Connecting using USB on iOS
+### Connecting using USB on iOS and Windows
 
-On newer iOS version it is also possible to connect to a running dev app over USB. The device will open a new ethernet interface between the device and computer and the device will show up under <kbd>Project ▸ Targets</kbd> just like if it had been connected using wifi.
+When connecting over USB on Windows to a dev app running on an iOS device you first need to [install iTunes](https://www.apple.com/lae/itunes/download/). When iTunes is installed you also need to [enable Personal Hotspot](https://support.apple.com/en-us/HT204023) on your iOS device from the Settings menu. If you see an alert that says tap "Trust This Computer?" tap Trust. The device should now show up under <kbd>Project ▸ Targets</kbd> when the dev app is running.
 
-### Connecting using USB on Android
+### Connecting using USB on iOS and OSX
 
-On Android it is possible to connect to a running dev app over USB when the device is in USB Tethering Mode. On MacOS you need to install a third-party driver such as [HoRNDIS](https://joshuawise.com/horndis#available_versions). When HoRNDIS is installed you also need to allow it to run via the Security & Privacy settings. Once USB Tethering is enabled the device will show up under <kbd>Project ▸ Targets</kbd> just like if it had been connected using wifi.
+On newer iOS versions the device will automatically open a new ethernet interface between the device and computer when connected using USB on OSX. The device should show up under <kbd>Project ▸ Targets</kbd> when the dev app is running.
 
+On older iOS versions you need to enable Personal Hotspot on your device from the Settings menu when connected using USB on OSX. If you see an alert that says tap "Trust This Computer?" tap Trust. The device should now show up under <kbd>Project ▸ Targets</kbd> when the dev app is running.
+
+### Connecting using USB on Android and OSX
+
+On Android it is possible to connect over USB on OSX to a running dev app when the device is in USB Tethering Mode. On MacOS you need to install a third-party driver such as [HoRNDIS](https://joshuawise.com/horndis#available_versions). When HoRNDIS is installed you also need to allow it to run via the Security & Privacy settings. Once USB Tethering is enabled the device will show up under <kbd>Project ▸ Targets</kbd> when the dev app is running.
+
+### Connecting using USB on Android and Windows
+
+On Android it is possible to connect over USB on Windows to a running dev app when the device is in USB Tethering Mode. Once USB Tethering is enabled the device will show up under <kbd>Project ▸ Targets</kbd> when the dev app is running.
 
 ## Troubleshooting
 

+ 2 - 2
docs/en/manuals/hot-reload.md

@@ -22,7 +22,7 @@ To then reload an updated resource  simply select the menu item <kbd>File ▸ Ho
 
 ## Hot reloading on device
 
-Hot reloading works wirelessly on device as well as on desktop. To use it on device, run a debug build of your game, or the [development app](/manuals/dev-app) on your mobile device, then chose it as target in the editor:
+Hot reloading works on device as well as on desktop. To use it on device, run a debug build of your game, or the [development app](/manuals/dev-app) on your mobile device, then chose it as target in the editor:
 
 ![target device](images/hot-reload/target.png){srcset="images/hot-reload/[email protected] 2x"}
 
@@ -40,7 +40,7 @@ When you hot reload a file, the engine will print each reloaded resource file in
 
 ## Reloading scripts
 
-Any Lua script file that is reloaded will be re-executed in the running Lua environment. 
+Any Lua script file that is reloaded will be re-executed in the running Lua environment.
 
 ```lua
 local my_value = 10