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

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.

主站蜘蛛池模板: 高尔夫| 舒城县| 思南县| 临湘市| 东台市| 当雄县| 汝阳县| 应用必备| 伊川县| 洛南县| 齐河县| 巩留县| 青冈县| 叶城县| 靖宇县| 黄石市| 华蓥市| 壤塘县| 房山区| 平阴县| 禄丰县| 哈巴河县| 尉氏县| 旬邑县| 雅安市| 平江县| 合肥市| 界首市| 石景山区| 福鼎市| 平南县| 合江县| 房产| 香港| 怀宁县| 博乐市| 聊城市| 察哈| 夏河县| 镇远县| 鲁山县|