Skip to content

Commit 488b5dc

Browse files
committed
iOS/macOS: build with XCode 26.0
It seems to be a new requirement for Chromium: https://chromium.googlesource.com/chromium/src/build/+/0a45979d9ff0f959bed73f641668feec5eac7ad5 Before this change, the iOS builds failed with the following error: ninja: error: '/Applications/Xcode_15.0.1.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX14.0.sdk/usr/include/DarwinBasic.modulemap', needed by 'obj/buildtools/third_party/libc++/MachO/DarwinBasic.pcm', missing and no known rule to make it And the macOS builds failed with this one: ninja: error: '/Applications/Xcode_15.4.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX14.5.sdk/usr/include/DarwinBasic.modulemap', needed by 'obj/buildtools/third_party/libc++/MachO/DarwinBasic.pcm', missing and no known rule to make it
1 parent a643bff commit 488b5dc

3 files changed

Lines changed: 3 additions & 6 deletions

File tree

.github/workflows/build.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -54,7 +54,7 @@ jobs:
5454
build:
5555
outputs:
5656
artifact: ${{ steps.init.outputs.artifact }}
57-
runs-on: ${{ (inputs.target_os == 'ios' || inputs.target_os == 'mac') && 'macos-14' || inputs.target_os == 'win' && 'windows-2022' || 'ubuntu-24.04' }}
57+
runs-on: ${{ (inputs.target_os == 'ios' || inputs.target_os == 'mac') && 'macos-15' || inputs.target_os == 'win' && 'windows-2022' || 'ubuntu-24.04' }}
5858
env:
5959
PDFium_BRANCH: ${{ inputs.branch }}
6060
PDFium_IS_DEBUG: ${{ inputs.is_debug }}

steps/01-install.sh

Lines changed: 2 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -97,10 +97,8 @@ case "$TARGET_OS" in
9797
echo "$WindowsSDK_DIR/$CURRENT_CPU" >> "$PATH_FILE"
9898
;;
9999

100-
ios)
101-
# Xcode 15.4 produces the following error when targeting ARM64 with V8:
102-
# undefined symbol: be_memory_inline_jit_restrict_rwx_to_rx_with_witness_impl
103-
sudo xcode-select -s "/Applications/Xcode_15.0.1.app"
100+
mac|ios)
101+
sudo xcode-select -s "/Applications/Xcode_26.0.app"
104102
;;
105103

106104
emscripten)

steps/05-configure.sh

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -42,7 +42,6 @@ mkdir -p "$BUILD"
4242
echo "clang_use_chrome_plugins = false"
4343
;;
4444
mac)
45-
echo 'mac_deployment_target = "11.0.0"'
4645
echo "clang_use_chrome_plugins = false"
4746
;;
4847
emscripten)

0 commit comments

Comments
 (0)