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

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.

主站蜘蛛池模板: 茶陵县| 静海县| 安宁市| 犍为县| 五台县| 河池市| 噶尔县| 巴彦淖尔市| 乌鲁木齐县| 梓潼县| 万全县| 汉川市| 临沧市| 赫章县| 长治市| 武川县| 绥中县| 蛟河市| 渑池县| 冷水江市| 三穗县| 罗江县| 郁南县| 民权县| 绥滨县| 阿拉善盟| 翼城县| 石景山区| 泉州市| 金门县| 米泉市| 宜城市| 孝义市| 封开县| 临猗县| 丹凤县| 潢川县| 曲阳县| 鸡泽县| 长汀县| 卓尼县|