File tree 2 files changed +39
-0
lines changed
2 files changed +39
-0
lines changed Original file line number Diff line number Diff line change
1
+ ---
2
+ title : Miscellaneous
3
+ order : 6
4
+ ---
5
+
6
+ These pages contain miscellaneous but useful information, that does not fit elsewhere.
Original file line number Diff line number Diff line change
1
+ ---
2
+ title : iOS Development Setup
3
+ ---
4
+
5
+ # iOS Development Setup
6
+
7
+ Something something preamble
8
+
9
+ You will have to edit your ` CMakeLists.txt ` on your exiting mods. Newer created mods will already have this change
10
+ ``` cmake
11
+ # At the beginning of your CMakeLists.txt, change this:
12
+ # set(CMAKE_OSX_ARCHITECTURES "arm64;x86_64")
13
+ # into:
14
+ if ("${CMAKE_SYSTEM_NAME}" STREQUAL "iOS" OR IOS)
15
+ set(CMAKE_OSX_ARCHITECTURES "arm64")
16
+ else()
17
+ set(CMAKE_OSX_ARCHITECTURES "arm64;x86_64")
18
+ endif()
19
+ ```
20
+
21
+
22
+ ## Github Actions
23
+ To build your mod for iOS using ` geode-sdk/build-geode-mod ` , you have to add iOS to the build matrix, like so:
24
+ ``` yml
25
+ - name : iOS
26
+ os : macos-latest
27
+ target : iOS
28
+ ` ` `
29
+
30
+ 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
+ ` ` ` yml
32
+ sdk: nightly
33
+ ` ` `
You can’t perform that action at this time.
0 commit comments