Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
10 changes: 10 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,15 @@
# Changelog

## 1.11.0

### Apple: raise minimum OS to iOS 15.0 and macOS 12.0

The xcframework slices are now compiled and linked for iOS 15.0 (device and
simulator) and macOS 12.0, up from iOS 13.0 and macOS 10.15, and each
framework's `MinimumOSVersion` matches. These are the minimums Xcode 27
supports, and they match Flutter 3.47 and Flet 1.1.0
([flet-dev/flet#6940](https://github.com/flet-dev/flet/issues/6940)).

## 1.10.0

### macOS: give the embedded Python worker an 8 MiB stack
Expand Down
2 changes: 1 addition & 1 deletion CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@

cmake_minimum_required(VERSION 3.15)

project(dart_bridge VERSION 1.10.0 LANGUAGES C)
project(dart_bridge VERSION 1.11.0 LANGUAGES C)

if(NOT DEFINED DART_BRIDGE_PYTHON_INCLUDE_DIRS)
find_package(Python3 REQUIRED COMPONENTS Development.Module)
Expand Down
12 changes: 6 additions & 6 deletions apple/build_xcframework.sh
Original file line number Diff line number Diff line change
Expand Up @@ -103,9 +103,9 @@ build_slice() {
sdk_path=$(xcrun --sdk "$sdk" --show-sdk-path)
local min_flag=""
case "$sdk" in
iphoneos) min_flag="-mios-version-min=13.0" ;;
iphonesimulator) min_flag="-mios-simulator-version-min=13.0" ;;
macosx) min_flag="-mmacosx-version-min=10.15" ;;
iphoneos) min_flag="-mios-version-min=$minos" ;;
iphonesimulator) min_flag="-mios-simulator-version-min=$minos" ;;
macosx) min_flag="-mmacosx-version-min=$minos" ;;
esac

local arch_flags=()
Expand Down Expand Up @@ -162,9 +162,9 @@ build_slice() {
lipo -info "$dylib" 2>/dev/null || true
}

build_slice iphoneos iPhoneOS 13.0 flat arm64
build_slice iphonesimulator iPhoneSimulator 13.0 flat arm64 x86_64
build_slice macosx MacOSX 10.15 versioned arm64 x86_64
build_slice iphoneos iPhoneOS 15.0 flat arm64
build_slice iphonesimulator iPhoneSimulator 15.0 flat arm64 x86_64
build_slice macosx MacOSX 12.0 versioned arm64 x86_64

echo "--- Creating xcframework ---"
xcodebuild -create-xcframework \
Expand Down
Loading