官术网_书友最值得收藏!

Remote connection to an iOS device

The Profiler can also be connected to an active instance of the application running remotely on an iOS device, such as an iPad or iPhone. This can be achieved through a shared Wi-Fi connection. 

Note that remote connection to an iOS device is only possible when Unity (and hence the Profiler) is running on an Apple Mac device.

Follow the given steps to connect the Profiler to an iOS device:

  1. Ensure that the Development Build and Autoconnect Profiler flags are enabled when the application is built.
  2. Connect both the iOS device and Mac device to a local Wi-Fi network, or to an ad hoc Wi-Fi network.
  3. Attach the iOS device to the Mac via the USB or Lightning cable.
  4. Begin building the application with the Build & Run option as usual.
  5. Open the Profiler window in the Unity Editor and select the device under Connected Player.

You should now see the iOS device's profiling data gathering in the Profiler window.

The Profiler uses ports from 54998 to 55511 to broadcast profiling data. Ensure that these ports are available for outbound traffic if there is a firewall on the network.

For troubleshooting problems with building iOS applications and connecting the Profiler to them, consult the following documentation page: https://docs.unity3d.com/Manual/TroubleShootingIPhone.html.

主站蜘蛛池模板: 元阳县| 城固县| 万盛区| 甘洛县| 潞城市| 永和县| 闸北区| 勐海县| 宿迁市| 望奎县| 河源市| 阿勒泰市| 科技| 柳州市| 武义县| 环江| 穆棱市| 黑水县| 沙田区| 木兰县| 政和县| 苗栗县| 工布江达县| 四会市| 武强县| 虎林市| 铅山县| 土默特右旗| 诏安县| 太湖县| 临江市| 康马县| 南召县| 玉环县| 苍溪县| 沙河市| 龙川县| 交城县| 黔西县| 光泽县| 商水县|