Skip to content

Commit d4d62af

Browse files
authored
Merge pull request #116 from godotengine/xcode-14.1
2 parents 6c3ec4b + dd1c2c0 commit d4d62af

File tree

4 files changed

+12
-11
lines changed

4 files changed

+12
-11
lines changed

Dockerfile.ios

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,13 +1,13 @@
11
ARG img_version
22
FROM godot-osx:${img_version}
33

4-
ENV IOS_SDK=15.4
4+
ENV IOS_SDK=16.1
55

66
RUN dnf -y install --setopt=install_weak_deps=False \
77
automake autoconf gcc gcc-c++ gcc-objc gcc-objc++ cmake libicu-devel libtool libxml2-devel openssl-devel perl python yasm && \
88
git clone --progress https://github.com/tpoechtrager/cctools-port.git && \
99
cd /root/cctools-port && \
10-
git checkout 04663295d0425abfac90a42440a7ec02d7155fea && \
10+
git checkout 11c93763d7e7ce7305163341d08052374e4712de && \
1111
# arm64 device
1212
usage_examples/ios_toolchain/build.sh /root/files/iPhoneOS${IOS_SDK}.sdk.tar.xz arm64 && \
1313
mkdir -p /root/ioscross/arm64 && \

Dockerfile.osx

Lines changed: 6 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -2,14 +2,15 @@ ARG img_version
22
FROM godot-fedora:${img_version}
33

44
RUN dnf -y install --setopt=install_weak_deps=False \
5-
automake autoconf bzip2-devel cmake gcc gcc-c++ libicu-devel libtool libxml2-devel openssl-devel yasm && \
5+
automake autoconf bzip2-devel cmake gcc gcc-c++ libicu-devel libtool libxml2-devel openssl-devel yasm \
6+
clang llvm-devel && \
67
git clone --progress https://github.com/tpoechtrager/osxcross.git && \
78
cd /root/osxcross && \
8-
git checkout 17bb5e2d0a46533c1dd525cf4e9a80d88bd9f00e && \
9-
ln -s /root/files/MacOSX12.3.sdk.tar.xz /root/osxcross/tarballs && \
9+
git checkout 50e86ebca7d14372febd0af8cd098705049161b9 && \
10+
ln -s /root/files/MacOSX13.0.sdk.tar.xz /root/osxcross/tarballs && \
1011
export UNATTENDED=1 && \
11-
# Custom build to ensure we have Clang version matching Xcode SDK.
12-
CLANG_VERSION=13.0.1 ENABLE_CLANG_INSTALL=1 INSTALLPREFIX=/usr ./build_clang.sh && \
12+
# Custom build Clang if the Fedora version doesn't match the Xcode SDK.
13+
#CLANG_VERSION=14.0.6 ENABLE_CLANG_INSTALL=1 INSTALLPREFIX=/usr ./build_clang.sh && \
1314
./build.sh && \
1415
./build_compiler_rt.sh && \
1516
rm -rf /root/osxcross/build

Dockerfile.xcode

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@ FROM godot-fedora:${img_version}
33

44
RUN dnf -y install --setopt=install_weak_deps=False \
55
clang xar xar-devel xz-devel cpio && \
6-
git clone --progress https://github.com/NiklasRosenstein/pbzx && \
6+
git clone --progress https://github.com/nrosenstein-stuff/pbzx && \
77
cd pbzx && \
88
git checkout 2a4d7c3300c826d918def713a24d25c237c8ed53 && \
99
clang -O3 -llzma -lxar -I /usr/local/include pbzx.c -o pbzx

build.sh

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -54,9 +54,9 @@ $podman_build -t godot-windows:${img_version} -f Dockerfile.windows . 2>&1 | tee
5454
$podman_build -t godot-web:${img_version} -f Dockerfile.web . 2>&1 | tee logs/web.log
5555
$podman_build -t godot-android:${img_version} -f Dockerfile.android . 2>&1 | tee logs/android.log
5656

57-
XCODE_SDK=13.3.1
58-
OSX_SDK=12.3
59-
IOS_SDK=15.4
57+
XCODE_SDK=14.1
58+
OSX_SDK=13.0
59+
IOS_SDK=16.1
6060
if [ ! -e files/MacOSX${OSX_SDK}.sdk.tar.xz ] || [ ! -e files/iPhoneOS${IOS_SDK}.sdk.tar.xz ] || [ ! -e files/iPhoneSimulator${IOS_SDK}.sdk.tar.xz ]; then
6161
if [ ! -e files/Xcode_${XCODE_SDK}.xip ]; then
6262
echo "files/Xcode_${XCODE_SDK}.xip is required. It can be downloaded from https://developer.apple.com/download/more/ with a valid apple ID."

0 commit comments

Comments
 (0)