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

Remote connection to an iOS device

The Profiler can also be connected to an active instance of an 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.

Observe the following 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 macOS device to a local Wi-Fi network, or to an ad hoc Wi-Fi network
  3. Attach the iOS device to the macOS 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 54998 to 55511 to broadcast profiling data. Ensure that these ports are available for outbound traffic if there is a firewall on the network.

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

主站蜘蛛池模板: 温宿县| 美姑县| 荔波县| 濮阳县| 无为县| 于田县| 澄城县| 平度市| 同仁县| 夏津县| 基隆市| 桑植县| 湾仔区| 临邑县| 凌云县| 建水县| 衡山县| 昌江| 安远县| 关岭| 濮阳市| 喜德县| 名山县| 荃湾区| 于田县| 新宾| 密山市| 米泉市| 旬邑县| 景谷| 揭东县| 会东县| 湘潭市| 开平市| 武隆县| 兴海县| 潍坊市| 都昌县| 永和县| 盐池县| 平乐县|