- Unity Game Optimization
- Dr. Davide Aversa Chris Dickinson
- 216字
- 2021-06-24 12:12:55
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:
- Ensure that the Development Build and Autoconnect Profiler flags are enabled when the application is built
- Connect both the iOS device and macOS device to a local Wi-Fi network, or to an ad hoc Wi-Fi network
- Attach the iOS device to the macOS via the USB or Lightning Cable
- Begin building the application with the Build & Run option as usual
- 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.
推薦閱讀
- Java程序設計(慕課版)
- Designing Machine Learning Systems with Python
- 自己動手實現Lua:虛擬機、編譯器和標準庫
- Wireshark Network Security
- Hadoop+Spark大數據分析實戰
- 組態軟件技術與應用
- 搞定J2EE:Struts+Spring+Hibernate整合詳解與典型案例
- Java程序員面試筆試寶典(第2版)
- Django 3.0入門與實踐
- Arduino可穿戴設備開發
- 3ds Max印象 電視欄目包裝動畫與特效制作
- Building Dynamics CRM 2015 Dashboards with Power BI
- GitHub入門與實踐
- Python自然語言理解:自然語言理解系統開發與應用實戰
- HTML5+CSS3+JavaScript 從入門到項目實踐(超值版)