11ARG img_version
2- FROM godot-osx:${img_version} as builder
2+ FROM godot-osx:${img_version}
33
44RUN 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
88ENV TVOS_SDK=18.5
99ENV 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.
1313RUN 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
2121RUN 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
4747ENV OSXCROSS_IOS=not_nothing
4848ENV OSXCROSS_TVOS=not_nothing
49- ENV OSXCROSS_XROS=not_nothing
5049ENV OSXCROSS_VISIONOS=not_nothing
5150ENV OSXCROSS_APPLEEMBEDDED=not_nothing
5251
0 commit comments