From 0d85d2e5a6619087f391e154b2249c766471542f Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Pa=CC=84vels=20Nadtoc=CC=8Cajevs?= <7645683+bruvzg@users.noreply.github.com> Date: Tue, 15 Apr 2025 08:40:22 +0300 Subject: [PATCH] Remove iOS simulator mentions. --- .../development/compiling/compiling_for_ios.rst | 17 +++++------------ tutorials/export/one-click_deploy.rst | 4 +--- 2 files changed, 6 insertions(+), 15 deletions(-) diff --git a/contributing/development/compiling/compiling_for_ios.rst b/contributing/development/compiling/compiling_for_ios.rst index d9512d1cf..21fa461b3 100644 --- a/contributing/development/compiling/compiling_for_ios.rst +++ b/contributing/development/compiling/compiling_for_ios.rst @@ -59,17 +59,6 @@ To compile a release build: scons platform=ios target=template_release generate_bundle=yes -Alternatively, you can run the following command for Xcode simulator libraries (optional): - -:: - - scons platform=ios target=template_debug ios_simulator=yes arch=arm64 - scons platform=ios target=template_debug ios_simulator=yes arch=x86_64 generate_bundle=yes - -These simulator libraries cannot be used to run the exported project on the -target device. Instead, they can be used to run the exported project directly on -your Mac while still testing iOS platform-specific functionality. - To create an Xcode project like in the official builds, you need to use the template located in ``misc/dist/ios_xcode``. The release and debug libraries should be placed in ``libgodot.ios.debug.xcframework`` and @@ -84,9 +73,13 @@ linked on iOS; there is no dynamic linking option available, unlike macOS. Run --- -To run on a device or simulator, follow these instructions: +To run on a device, follow these instructions: :ref:`doc_exporting_for_ios`. +iOS exports can run directly on an Apple Silicon Mac. To run exported iOS project +on Mac, open exported project in Xcode and select ``My Mac`` in the ``Run Destinations`` +dropdown. + Troubleshooting --------------- diff --git a/tutorials/export/one-click_deploy.rst b/tutorials/export/one-click_deploy.rst index d116a9957..d67738a30 100644 --- a/tutorials/export/one-click_deploy.rst +++ b/tutorials/export/one-click_deploy.rst @@ -38,7 +38,7 @@ Supported platforms the project should be exported to. - **iOS:** Exports the project with debugging enabled and runs it on the - connected device or simulator. + connected device. - Make sure to follow the steps described in :ref:`doc_exporting_for_ios`. Otherwise, the one-click deploy button won't appear. @@ -80,8 +80,6 @@ Using one-click deploy - Make sure the device is on the same local network and a correct network interface is selected in the editor settings (see `Network ⇾ Debug ⇾ Remote Host`). By default, the editor is listening for `localhost` connections only. - - For running in simulator: - - Install and start simulator from the Xcode. - Device screen should be unlocked. - **Desktop platforms:**