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

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.

主站蜘蛛池模板: 和龙市| 嵊泗县| 秦皇岛市| 丹巴县| 田林县| 景德镇市| 洪洞县| 广南县| 互助| 晋宁县| 柘荣县| 宕昌县| 葫芦岛市| 噶尔县| 滦平县| 巴彦县| 奉新县| 如皋市| 福清市| 长垣县| 澄江县| 顺义区| 黄浦区| 安图县| 瓦房店市| 奉新县| 盐城市| 绥棱县| 肥乡县| 泾阳县| 洪雅县| 宁明县| 偏关县| 固安县| 喀什市| 吴川市| 昔阳县| 进贤县| 香港| 肃宁县| 成安县|