You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: tutorials/export/exporting_for_ios.rst
+20-10Lines changed: 20 additions & 10 deletions
Original file line number
Diff line number
Diff line change
@@ -44,7 +44,7 @@ After you click **Export Project**, there are still two important options left:
44
44
* **Path** is an empty folder that will contain the exported Xcode project files.
45
45
* **File** will be the name of the Xcode project and several project specific files and directories.
46
46
47
-
.. image:: img/ios_export_file.png
47
+
.. image:: img/ios_export_file.webp
48
48
49
49
.. note:: This tutorial uses **exported_xcode_project_name**, but you will use your
50
50
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:
55
55
56
56
When the export completes, the output folder should look like this:
57
57
58
-
.. image:: img/ios_export_output.png
58
+
.. image:: img/ios_export_output.webp
59
59
60
60
Opening **exported_xcode_project_name.xcodeproj** lets you build and deploy
61
61
like any other iOS app.
@@ -83,23 +83,33 @@ Steps to link a Godot project folder to Xcode
83
83
1. Start from an exported iOS project (follow the steps above).
84
84
2. In Finder, drag the Godot project folder into the Xcode file browser.
85
85
86
-
.. image:: img/ios_export_add_dir.png
86
+
.. image:: img/ios_export_add_dir.webp
87
87
88
-
3. In the dialog, make sure **Create folder references** is selected. This means
89
-
you will be able to continue to edit your Godot project in its current location.
88
+
3. In the dialog, make sure to select Action: **Reference files in place** and Groups: **Create folders**. Uncheck Targets: **exported_xcode_project_name**.
90
89
91
-
.. image:: img/ios_export_file_ref.png
90
+
.. image:: img/ios_export_file_ref.webp
92
91
93
92
4. See the **godot_project_to_export** folder in the Xcode file browser.
94
-
5. Delete **exported_xcode_project_name.pck** from the Xcode project.
95
93
96
-
.. image:: img/ios_export_delete_pck.png
94
+
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:
97
95
98
-
6. Open **exported_xcode_project_name-Info.plist** and add a string property named
96
+
* **Location**: Relative to Project
97
+
* **Build Rules**: Apply Once to Folder
98
+
* add your project to **Target Membership**
99
+
100
+
.. image:: img/ios_export_file_inspector.webp
101
+
102
+
.. image:: img/ios_export_target_membership.webp
103
+
104
+
7. Delete **exported_xcode_project_name.pck** from the Xcode project in the project navigator.
105
+
106
+
.. image:: img/ios_export_delete_pck.webp
107
+
108
+
8. Open **exported_xcode_project_name-Info.plist** and add a string property named
99
109
**godot_path** (this is the real key name) with a value **godot_project_to_export**
100
110
(this is the name of your project)
101
111
102
-
.. image:: img/ios_export_set_path.png
112
+
.. image:: img/ios_export_set_path.webp
103
113
104
114
That's it! You can now edit your project in the Godot editor and build it
0 commit comments