Skip to content

Commit 066ede3

Browse files
authored
Merge pull request #86 from godotengine/dotnet-ios
.NET: Add support for iOS builds
2 parents 02e092c + 7587745 commit 066ede3

File tree

2 files changed

+11
-13
lines changed

2 files changed

+11
-13
lines changed

build-ios/build.sh

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -57,9 +57,7 @@ fi
5757

5858
# Mono
5959

60-
# No iOS support with .NET 6 yet.
61-
#if [ "${MONO}" == "1" ]; then
62-
if false; then
60+
if [ "${MONO}" == "1" ]; then
6361
echo "Starting Mono build for iOS..."
6462

6563
cp -r /root/mono-glue/GodotSharp/GodotSharp/Generated modules/mono/glue/GodotSharp/GodotSharp/

build-release.sh

Lines changed: 10 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -462,16 +462,6 @@ if [ "${build_mono}" == "1" ]; then
462462
cp out/android/templates-mono/*.apk ${templatesdir_mono}/
463463
cp out/android/templates-mono/android_source.zip ${templatesdir_mono}/
464464

465-
# No .NET support for those platforms yet.
466-
467-
if false; then
468-
469-
## Web (Mono) ##
470-
471-
# Templates
472-
cp out/web/templates-mono/godot.web.template_debug.wasm32.mono.zip ${templatesdir_mono}/web_debug.zip
473-
cp out/web/templates-mono/godot.web.template_release.wasm32.mono.zip ${templatesdir_mono}/web_release.zip
474-
475465
## iOS (Mono) ##
476466

477467
rm -rf ios_xcode
@@ -487,6 +477,16 @@ if [ "${build_mono}" == "1" ]; then
487477
cd ..
488478
rm -rf ios_xcode
489479

480+
# No .NET support for those platforms yet.
481+
482+
if false; then
483+
484+
## Web (Mono) ##
485+
486+
# Templates
487+
cp out/web/templates-mono/godot.web.template_debug.wasm32.mono.zip ${templatesdir_mono}/web_debug.zip
488+
cp out/web/templates-mono/godot.web.template_release.wasm32.mono.zip ${templatesdir_mono}/web_release.zip
489+
490490
fi
491491

492492
## Templates TPZ (Mono) ##

0 commit comments

Comments
 (0)