Skip to content

Commit 38272cb

Browse files
committed
Remove ios image, superseded by appleembedded + misc edits
1 parent b3118ef commit 38272cb

File tree

7 files changed

+18
-62
lines changed

7 files changed

+18
-62
lines changed

Dockerfile.appleembedded

Lines changed: 8 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
ARG img_version
2-
FROM godot-osx:${img_version} as builder
2+
FROM godot-osx:${img_version}
33

44
RUN dnf -y install --setopt=install_weak_deps=False \
55
automake autoconf gcc gcc-c++ gcc-objc gcc-objc++ cmake libicu-devel libtool libxml2-devel openssl-devel perl python yasm
@@ -8,15 +8,15 @@ ENV IOS_SDK=18.5
88
ENV TVOS_SDK=18.5
99
ENV XROS_SDK=2.5
1010

11-
# Extract the SDKs for ios, tvos and xros, including the simulator SDKs
11+
# Extract the SDKs for iOS, tvOS and XROS, including the simulator SDKs
1212
# into separate layers, so this work is not repeated each time the image is built.
1313
RUN mkdir -p /root/SDKs
14-
RUN cd /root/SDKs && xz -dc /root/files/iPhoneOS${IOS_SDK}.sdk.tar.xz | tar xf -
15-
RUN cd /root/SDKs && xz -dc /root/files/iPhoneSimulator${IOS_SDK}.sdk.tar.xz | tar xf -
16-
RUN cd /root/SDKs && xz -dc /root/files/AppleTVOS${TVOS_SDK}.sdk.tar.xz | tar xf -
17-
RUN cd /root/SDKs && xz -dc /root/files/AppleTVSimulator${TVOS_SDK}.sdk.tar.xz | tar xf -
18-
RUN cd /root/SDKs && xz -dc /root/files/XROS${XROS_SDK}.sdk.tar.xz | tar xf -
19-
RUN cd /root/SDKs && xz -dc /root/files/XRSimulator${XROS_SDK}.sdk.tar.xz | tar xf -
14+
RUN cd /root/SDKs && tar xf /root/files/iPhoneOS${IOS_SDK}.sdk.tar.xz
15+
RUN cd /root/SDKs && tar xf /root/files/iPhoneSimulator${IOS_SDK}.sdk.tar.xz
16+
RUN cd /root/SDKs && tar xf /root/files/AppleTVOS${TVOS_SDK}.sdk.tar.xz
17+
RUN cd /root/SDKs && tar xf /root/files/AppleTVSimulator${TVOS_SDK}.sdk.tar.xz
18+
RUN cd /root/SDKs && tar xf /root/files/XROS${XROS_SDK}.sdk.tar.xz
19+
RUN cd /root/SDKs && tar xf /root/files/XRSimulator${XROS_SDK}.sdk.tar.xz
2020

2121
RUN git clone --depth 1 --no-checkout https://github.com/tpoechtrager/cctools-port.git && \
2222
cd /root/cctools-port && \
@@ -46,7 +46,6 @@ RUN PATH=/root/ioscross/arm64/bin:$PATH /root/files/appleembedded/check-arm.sh
4646

4747
ENV OSXCROSS_IOS=not_nothing
4848
ENV OSXCROSS_TVOS=not_nothing
49-
ENV OSXCROSS_XROS=not_nothing
5049
ENV OSXCROSS_VISIONOS=not_nothing
5150
ENV OSXCROSS_APPLEEMBEDDED=not_nothing
5251

Dockerfile.ios

Lines changed: 0 additions & 39 deletions
This file was deleted.

Dockerfile.xcode

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -17,4 +17,4 @@ ENV VISIONOS_SDKV=
1717
COPY extract_xcode_sdks.sh /root/extract_xcode_sdks.sh
1818
RUN chmod +x /root/extract_xcode_sdks.sh
1919

20-
CMD ["/root/extract_xcode_sdks.sh"]
20+
CMD /root/extract_xcode_sdks.sh

README.md

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -73,7 +73,6 @@ These are the expected container image sizes, so you can plan your disk usage in
7373
localhost/godot-web 4.5-f42 2.35 GB
7474
localhost/godot-android 4.5-f42 4.19 GB
7575
localhost/godot-osx 4.5-f42 5.30 GB
76-
localhost/godot-ios 4.5-f42 6.11 GB
7776
localhost/godot-appleembedded 4.5-f42 14.1 GB
7877

7978
In addition to this, generating containers will also require some host disk space
@@ -94,5 +93,4 @@ These are the toolchains currently in use for Godot 4.3 and later:
9493
- Android: Android NDK 28.1.13356709, build-tools 35.0.0, platform android-35, CMake 3.31.6, JDK 21
9594
- Apple: Xcode 16.4 with Apple Clang (LLVM 19.1.4), cctools 1024.3, ld64 955.13
9695
* macOS: MacOSX SDK 15.5
97-
* iOS: iPhoneOS SDK 18.5
98-
* appleembedded: iPhoneOS SDK 18.5, iPhoneOS Simulator SDK 18.5, AppleTVOS SDK 18.5, AppleTVOS Simulator SDK 18.5, XROS SDK 2.5, XROS Simulator SDK 2.5
96+
* Apple Embedded: iPhoneOS and iPhoneSimulator SDKs 18.5, AppleTVOS and AppleTVSimulator SDKs 18.5, XROS and XRSimulator SDKs 2.5

build.sh

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -73,7 +73,7 @@ if [ ! -e "${files_root}"/MacOSX${OSX_SDK}.sdk.tar.xz ] || [ ! -e "${files_root}
7373
exit 1
7474
fi
7575

76-
echo "Extracting Apple SDK packages. This will take a while"
76+
echo "Extracting Apple SDK packages. This will take a while."
7777
podman_build xcode
7878
"$podman" run -it --rm \
7979
-v "${files_root}":/root/files:z \
@@ -87,5 +87,4 @@ if [ ! -e "${files_root}"/MacOSX${OSX_SDK}.sdk.tar.xz ] || [ ! -e "${files_root}
8787
fi
8888

8989
podman_build osx
90-
podman_build ios
9190
podman_build appleembedded

extract_xcode_sdks.sh

Lines changed: 7 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -51,17 +51,17 @@ extract_and_pack() {
5151
local sdk_name="$2"
5252
local versioned_name="$3"
5353
local tar_name="$4"
54-
54+
5555
if [[ -d "$sdk_dir/$sdk_name" ]]; then
5656

5757
# Use tar to copy and preserve everything, then repackage
5858
echo "=== Copying SDK using tar to preserve special files ==="
5959
cd "$sdk_dir"
6060
tar -cf - "$sdk_name" | (cd "/tmp" && tar -xf -)
61-
61+
6262
# Rename to versioned name
6363
mv "/tmp/$sdk_name" "/tmp/$versioned_name"
64-
64+
6565
# Verify SDKSettings.json exists and has content
6666
if [[ -f "/tmp/$versioned_name/SDKSettings.json" ]]; then
6767
echo "=== SDKSettings.json found, size: $(wc -c < "/tmp/$versioned_name/SDKSettings.json") bytes ==="
@@ -71,13 +71,13 @@ extract_and_pack() {
7171
else
7272
echo "⚠️ Warning: SDKSettings.json not found in extracted SDK"
7373
fi
74-
74+
7575
# Create tar with versioned directory name
7676
tar -cJf "$OUT_DIR/$tar_name" -C "/tmp" "$versioned_name"
77-
77+
7878
# Clean up temporary directory
7979
rm -rf "/tmp/$versioned_name"
80-
80+
8181
echo "✓ Packed $tar_name"
8282
else
8383
echo "✗ SDK not found: $sdk_dir/$sdk_name"
@@ -148,4 +148,4 @@ if [[ "$EXTRACT_VISIONOS_SIM" == "1" ]]; then
148148
"XRSimulator${VISIONOS_SDKV}.sdk.tar.xz"
149149
fi
150150

151-
echo "Done extracting selected SDKs."
151+
echo "Done extracting selected SDKs."

upload.sh

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -21,6 +21,5 @@ fi
2121
"$podman" push godot-xcode:${img_version} ${registry}/godot/xcode
2222

2323
"$podman" push godot-android:${img_version} ${registry}/godot-private/android
24-
"$podman" push godot-ios:${img_version} ${registry}/godot-private/ios
2524
"$podman" push godot-osx:${img_version} ${registry}/godot-private/macosx
2625
"$podman" push godot-appleembedded:${img_version} ${registry}/godot-private/appleembedded

0 commit comments

Comments
 (0)