diff --git a/tutorials/export/exporting_for_ios.rst b/tutorials/export/exporting_for_ios.rst index 14ff804cd7c..45fbbaca83e 100644 --- a/tutorials/export/exporting_for_ios.rst +++ b/tutorials/export/exporting_for_ios.rst @@ -44,7 +44,7 @@ After you click **Export Project**, there are still two important options left: * **Path** is an empty folder that will contain the exported Xcode project files. * **File** will be the name of the Xcode project and several project specific files and directories. -.. image:: img/ios_export_file.png +.. image:: img/ios_export_file.webp .. note:: This tutorial uses **exported_xcode_project_name**, but you will use your project's name. When you see **exported_xcode_project_name** @@ -55,7 +55,7 @@ After you click **Export Project**, there are still two important options left: When the export completes, the output folder should look like this: -.. image:: img/ios_export_output.png +.. image:: img/ios_export_output.webp Opening **exported_xcode_project_name.xcodeproj** lets you build and deploy like any other iOS app. @@ -83,23 +83,33 @@ Steps to link a Godot project folder to Xcode 1. Start from an exported iOS project (follow the steps above). 2. In Finder, drag the Godot project folder into the Xcode file browser. -.. image:: img/ios_export_add_dir.png +.. image:: img/ios_export_add_dir.webp -3. In the dialog, make sure **Create folder references** is selected. This means -you will be able to continue to edit your Godot project in its current location. +3. In the dialog, make sure to select Action: **Reference files in place** and Groups: **Create folders**. Uncheck Targets: **exported_xcode_project_name**. -.. image:: img/ios_export_file_ref.png +.. image:: img/ios_export_file_ref.webp 4. See the **godot_project_to_export** folder in the Xcode file browser. -5. Delete **exported_xcode_project_name.pck** from the Xcode project. -.. image:: img/ios_export_delete_pck.png +5. Select the godot project in the Project navigator. Then on the other side of the XCode window, in the File Inspector, make these selections: -6. Open **exported_xcode_project_name-Info.plist** and add a string property named + * **Location**: Relative to Project + * **Build Rules**: Apply Once to Folder + * add your project to **Target Membership** + +.. image:: img/ios_export_file_inspector.webp + +.. image:: img/ios_export_target_membership.webp + +7. Delete **exported_xcode_project_name.pck** from the Xcode project in the project navigator. + +.. image:: img/ios_export_delete_pck.webp + +8. Open **exported_xcode_project_name-Info.plist** and add a string property named **godot_path** (this is the real key name) with a value **godot_project_to_export** (this is the name of your project) -.. image:: img/ios_export_set_path.png +.. image:: img/ios_export_set_path.webp That's it! You can now edit your project in the Godot editor and build it in Xcode when you want to run it on a device. diff --git a/tutorials/export/img/ios_export_add_dir.png b/tutorials/export/img/ios_export_add_dir.png deleted file mode 100644 index 57da5509b0a..00000000000 Binary files a/tutorials/export/img/ios_export_add_dir.png and /dev/null differ diff --git a/tutorials/export/img/ios_export_add_dir.webp b/tutorials/export/img/ios_export_add_dir.webp new file mode 100644 index 00000000000..15f8d3bd39a Binary files /dev/null and b/tutorials/export/img/ios_export_add_dir.webp differ diff --git a/tutorials/export/img/ios_export_delete_pck.png b/tutorials/export/img/ios_export_delete_pck.png deleted file mode 100644 index 237cbb441f7..00000000000 Binary files a/tutorials/export/img/ios_export_delete_pck.png and /dev/null differ diff --git a/tutorials/export/img/ios_export_delete_pck.webp b/tutorials/export/img/ios_export_delete_pck.webp new file mode 100644 index 00000000000..3ce0b8da59a Binary files /dev/null and b/tutorials/export/img/ios_export_delete_pck.webp differ diff --git a/tutorials/export/img/ios_export_file.png b/tutorials/export/img/ios_export_file.png deleted file mode 100644 index db99a7df30a..00000000000 Binary files a/tutorials/export/img/ios_export_file.png and /dev/null differ diff --git a/tutorials/export/img/ios_export_file.webp b/tutorials/export/img/ios_export_file.webp new file mode 100644 index 00000000000..1eec1e8c104 Binary files /dev/null and b/tutorials/export/img/ios_export_file.webp differ diff --git a/tutorials/export/img/ios_export_file_inspector.webp b/tutorials/export/img/ios_export_file_inspector.webp new file mode 100644 index 00000000000..c7e987b5f91 Binary files /dev/null and b/tutorials/export/img/ios_export_file_inspector.webp differ diff --git a/tutorials/export/img/ios_export_file_ref.png b/tutorials/export/img/ios_export_file_ref.png deleted file mode 100644 index 51dd8f57fa6..00000000000 Binary files a/tutorials/export/img/ios_export_file_ref.png and /dev/null differ diff --git a/tutorials/export/img/ios_export_file_ref.webp b/tutorials/export/img/ios_export_file_ref.webp new file mode 100644 index 00000000000..e481c36c2a9 Binary files /dev/null and b/tutorials/export/img/ios_export_file_ref.webp differ diff --git a/tutorials/export/img/ios_export_output.png b/tutorials/export/img/ios_export_output.png deleted file mode 100644 index 6add2641d48..00000000000 Binary files a/tutorials/export/img/ios_export_output.png and /dev/null differ diff --git a/tutorials/export/img/ios_export_output.webp b/tutorials/export/img/ios_export_output.webp new file mode 100644 index 00000000000..7fb97f5f149 Binary files /dev/null and b/tutorials/export/img/ios_export_output.webp differ diff --git a/tutorials/export/img/ios_export_set_path.png b/tutorials/export/img/ios_export_set_path.png deleted file mode 100644 index e68d6a294f8..00000000000 Binary files a/tutorials/export/img/ios_export_set_path.png and /dev/null differ diff --git a/tutorials/export/img/ios_export_set_path.webp b/tutorials/export/img/ios_export_set_path.webp new file mode 100644 index 00000000000..b5834b5b361 Binary files /dev/null and b/tutorials/export/img/ios_export_set_path.webp differ diff --git a/tutorials/export/img/ios_export_target_membership.webp b/tutorials/export/img/ios_export_target_membership.webp new file mode 100644 index 00000000000..b36d7f1dfa4 Binary files /dev/null and b/tutorials/export/img/ios_export_target_membership.webp differ