File tree 1 file changed +22
-1
lines changed
1 file changed +22
-1
lines changed Original file line number Diff line number Diff line change @@ -18,6 +18,27 @@ else()
18
18
endif()
19
19
```
20
20
21
+ ## Build
22
+
23
+ To build mods for iOS, you must have Mac OS with the iPhone SDK installed from Xcode.
24
+
25
+ You must also get the Geode binaries for iOS, you can do this using the CLI:
26
+ ``` bash
27
+ geode sdk update nightly
28
+ geode sdk install-binaries --platform ios
29
+ ```
30
+
31
+ Nightly is required, as iOS is currently not on the stable release for Geode.
32
+
33
+ Now you can build your mod for iOS via:
34
+ ``` bash
35
+ geode build -p ios
36
+ ```
37
+ Or if you want to build manually:
38
+ ``` bash
39
+ cmake -B build -DCMAKE_SYSTEM_NAME=iOS -DGEODE_TARGET_PLATFORM=iOS -DCMAKE_BUILD_TYPE=RelWithDebInfo -G Ninja
40
+ cmake --build build
41
+ ```
21
42
22
43
## Github Actions
23
44
To build your mod for iOS using ` geode-sdk/build-geode-mod ` , you have to add iOS to the build matrix, like so:
@@ -30,4 +51,4 @@ To build your mod for iOS using `geode-sdk/build-geode-mod`, you have to add iOS
30
51
As of writing this, iOS support is only available on nightly Geode, so make sure to add this to the options of the ` build-geode-mod` step
31
52
` ` ` yml
32
53
sdk: nightly
33
- ` ` `
54
+ ` ` `
You can’t perform that action at this time.
0 commit comments