OSX macOS 27 adaptions (PR #26578)

83 views
Skip to first unread message

Stefan Csomor

unread,
Jun 10, 2026, 12:18:51 PMJun 10
to wx-...@googlegroups.com, Subscribed

You can view, comment on, or merge this pull request online at:

  https://github.com/wxWidgets/wxWidgets/pull/26578

Commit Summary

  • 2268c9b increase min deployment for macOS 27 SDK

File Changes

(1 file)

Patch Links:


Reply to this email directly, view it on GitHub, or unsubscribe.
Triage notifications, keep track of coding agent tasks and review pull requests on the go with GitHub Mobile for iOS and Android. Download it today!
You are receiving this because you are subscribed to this thread.Message ID: <wxWidgets/wxWidgets/pull/26578@github.com>

VZ

unread,
Jun 22, 2026, 8:46:41 AM (10 days ago) Jun 22
to wx-...@googlegroups.com, Subscribed
vadz left a comment (wxWidgets/wxWidgets#26578)

@csomor Stefan, should this be merged? Or is it still a draft?


Reply to this email directly, view it on GitHub, or unsubscribe.
Triage notifications, keep track of coding agent tasks and review pull requests on the go with GitHub Mobile for iOS and Android. Download it today!

You are receiving this because you are subscribed to this thread.Message ID: <wxWidgets/wxWidgets/pull/26578/c4768429246@github.com>

Stefan Csomor

unread,
Jun 22, 2026, 8:56:44 AM (10 days ago) Jun 22
to wx-...@googlegroups.com, Subscribed
csomor left a comment (wxWidgets/wxWidgets#26578)

@csomor Stefan, should this be merged? Or is it still a draft?

Thanks @vadz, I thought I'd wait till the second beta (of macOS 27), and collect what comes up until then.


Reply to this email directly, view it on GitHub, or unsubscribe.
Triage notifications, keep track of coding agent tasks and review pull requests on the go with GitHub Mobile for iOS and Android. Download it today!

You are receiving this because you are subscribed to this thread.Message ID: <wxWidgets/wxWidgets/pull/26578/c4768509125@github.com>

Stefan Csomor

unread,
Jun 23, 2026, 8:48:22 AM (9 days ago) Jun 23
to wx-...@googlegroups.com, Subscribed
csomor left a comment (wxWidgets/wxWidgets#26578)

@vadz ok, for Xcode based builds the minimum deployment is indeed macOS 12 Monterey, while command line builds still accept -with-macosx-version-min=11.00 I don't know whether we'd have some logic somewhere that could adjust the 10.10 minimum version to 11.00 when building against macOS SDK 27 with __MAC_OS_X_VERSION_MAX_ALLOWED from Availability.h being at least 270000


Reply to this email directly, view it on GitHub, or unsubscribe.
Triage notifications, keep track of coding agent tasks and review pull requests on the go with GitHub Mobile for iOS and Android. Download it today!

You are receiving this because you are subscribed to this thread.Message ID: <wxWidgets/wxWidgets/pull/26578/c4779342420@github.com>

VZ

unread,
Jun 23, 2026, 1:40:04 PM (9 days ago) Jun 23
to wx-...@googlegroups.com, Subscribed
vadz left a comment (wxWidgets/wxWidgets#26578)

There is some code in configure setting min version from the SDK deployment version, see https://github.com/wxWidgets/wxWidgets/blob/0a6b26ea435f69fb8ea9fd764c1e06cdc148587c/configure.ac#L1314-L1337

I wonder what does it output for you on the new system after "Checking for SDK deployment version"?


Reply to this email directly, view it on GitHub, or unsubscribe.
Triage notifications, keep track of coding agent tasks and review pull requests on the go with GitHub Mobile for iOS and Android. Download it today!

You are receiving this because you are subscribed to this thread.Message ID: <wxWidgets/wxWidgets/pull/26578/c4781878721@github.com>

Stefan Csomor

unread,
Jun 24, 2026, 2:47:32 AM (8 days ago) Jun 24
to wx-...@googlegroups.com, Subscribed
csomor left a comment (wxWidgets/wxWidgets#26578)

I wonder what does it output for you on the new system after "Checking for SDK deployment version"?

if I give a -with-macosx-sdk=yes then the DefaultProperties of SDKSettings are read, but unfortunately this is an array having all possible deployment targets exposed, and the current code picks the last ie highest


Reply to this email directly, view it on GitHub, or unsubscribe.
Triage notifications, keep track of coding agent tasks and review pull requests on the go with GitHub Mobile for iOS and Android. Download it today!

You are receiving this because you are subscribed to this thread.Message ID: <wxWidgets/wxWidgets/pull/26578/c4786622903@github.com>

VZ

unread,
Jun 24, 2026, 6:11:32 AM (8 days ago) Jun 24
to wx-...@googlegroups.com, Subscribed
vadz left a comment (wxWidgets/wxWidgets#26578)

I wonder what does it output for you on the new system after "Checking for SDK deployment version"?

if I give a -with-macosx-sdk=yes then the DefaultProperties of SDKSettings are read, but unfortunately this is an array having all possible deployment targets exposed, and the current code picks the last ie highest

Assuming the targets are always sorted, we could use sed 1,DEPLOYMENT_TARGET_SUGGESTED_VALUES/d | head -n 1 to get the first of them, would this be the right thing to use?


Reply to this email directly, view it on GitHub, or unsubscribe.
Triage notifications, keep track of coding agent tasks and review pull requests on the go with GitHub Mobile for iOS and Android. Download it today!

You are receiving this because you are subscribed to this thread.Message ID: <wxWidgets/wxWidgets/pull/26578/c4788145521@github.com>

Stefan Csomor

unread,
Jun 24, 2026, 3:24:36 PM (8 days ago) Jun 24
to wx-...@googlegroups.com, Subscribed
csomor left a comment (wxWidgets/wxWidgets#26578)

the defaults read ... DefaultProperties gives us

{
    "AD_HOC_CODE_SIGNING_ALLOWED" = YES;
    "CODE_SIGNING_REQUIRED" = YES;
    "CODE_SIGN_ENTITLEMENTS" = "";
    "CODE_SIGN_IDENTITY" = "Apple Development";
    "DEFAULT_COMPILER" = "com.apple.compilers.llvm.clang.1_0";
    "DEPLOYMENT_TARGET_SUGGESTED_VALUES" =     (
        "12.0",
        "12.2",
        "12.3",
        "12.4",
        "13.0",
        "13.1",
        "13.2",
        "13.3",
        "13.4",
        "13.5",
        "14.0",
        "14.1",
        "14.2",
        "14.3",
        "14.4",
        "14.5",
        "14.6",
        "15.0",
        "15.1",
        "15.2",
        "15.3",
        "15.4",
        "15.5",
        "15.6",
        "26.0",
        "26.1",
        "26.2",
        "26.3",
        "26.4",
        "26.5",
        "26.6",
        "27.0"
    );
    "ENTITLEMENTS_DESTINATION" = Signature;
    "ENTITLEMENTS_REQUIRED" = YES;
    "IOS_UNZIPPERED_TWIN_PREFIX_PATH" = "/System/iOSSupport";
    "KASAN_CFLAGS_CLASSIC" = "-DKASAN=1 -DKASAN_CLASSIC=1 -fsanitize=address -mllvm -asan-globals-live-support -mllvm -asan-force-dynamic-shadow";
    "KASAN_CFLAGS_TBI" = "-DKASAN=1 -DKASAN_TBI=1 -fsanitize=kernel-hwaddress -mllvm -hwasan-recover=0 -mllvm -hwasan-instrument-atomics=0 -mllvm -hwasan-instrument-stack=1 -mllvm -hwasan-generate-tags-with-calls=1 -mllvm -hwasan-instrument-with-calls=1 -mllvm -hwasan-use-short-granules=0 -mllvm -hwasan-memory-access-callback-prefix=__asan_";
    "KASAN_DEFAULT_CFLAGS" = "$(KASAN_CFLAGS_CLASSIC)";
    "KASAN_DEFAULT_CFLAGS[arch=arm64]" = "$(KASAN_CFLAGS_TBI)";
    "KASAN_DEFAULT_CFLAGS[arch=arm64e]" = "$(KASAN_CFLAGS_TBI)";
    "MACOSX_DEPLOYMENT_TARGET" = "27.0";
    "PLATFORM_NAME" = macosx;
    "SWIFT_ENABLE_EXPLICIT_MODULES" = "$(SWIFT_USE_INTEGRATED_DRIVER)";
    "TAPI_USE_SRCROOT" = YES;
    "TAPI_VERIFY_MODE" = Pedantic;
    "TEST_FRAMEWORK_SEARCH_PATHS" = "$(inherited) $(PLATFORM_DIR)/Developer/Library/Frameworks";
    "TEST_LIBRARY_SEARCH_PATHS" = "$(inherited) $(PLATFORM_DIR)/Developer/usr/lib";
    "_SWIFT_EXPLICIT_MODULES_ALLOW_CXX_INTEROP" = "$(SWIFT_ENABLE_EXPLICIT_MODULES)";
}

addiing

| grep '^ *"\{0,1\}MACOSX_DEPLOYMENT_TARGET"\{0,1\} *= *"\{0,1\}[^"]*"\{0,1\}; *$' | sed 's/^ *"\{0,1\}MACOSX_DEPLOYMENT_TARGET"\{0,1\} *= *"\{0,1\}\([^"]*\)"\{0,1\} *; *$/\1/'

gives the 27.0, but I don't manage to replace the sed from above with your line correctly. Also: when we do this don't we revert something that under some system once worked correctly ?


Reply to this email directly, view it on GitHub, or unsubscribe.
Triage notifications, keep track of coding agent tasks and review pull requests on the go with GitHub Mobile for iOS and Android. Download it today!

You are receiving this because you are subscribed to this thread.Message ID: <wxWidgets/wxWidgets/pull/26578/c4792876962@github.com>

VZ

unread,
Jun 27, 2026, 12:40:42 PM (5 days ago) Jun 27
to wx-...@googlegroups.com, Subscribed
vadz left a comment (wxWidgets/wxWidgets#26578)

I don't know what we're even trying to do here, so I'm not sure what to answer.

I thought that we wanted the earliest version in DEPLOYMENT_TARGET_SUGGESTED_VALUES (which would be "12.0" in the example above), and this would be given by deleting all lines up to and including this one and then taking the next line. But maybe this is not what we want? If so, what is the goal?


Reply to this email directly, view it on GitHub, or unsubscribe.
Triage notifications, keep track of coding agent tasks and review pull requests on the go with GitHub Mobile for iOS and Android. Download it today!

You are receiving this because you are subscribed to this thread.Message ID: <wxWidgets/wxWidgets/pull/26578/c4819228625@github.com>

Stefan Csomor

unread,
Jun 27, 2026, 1:26:45 PM (5 days ago) Jun 27
to wx-...@googlegroups.com, Subscribed
csomor left a comment (wxWidgets/wxWidgets#26578)

I don't know what we're even trying to do here, so I'm not sure what to answer.

I thought that we wanted the earliest version in DEPLOYMENT_TARGET_SUGGESTED_VALUES (which would be "12.0" in the example above), and this would be given by deleting all lines up to and including this one and then taking the next line. But maybe this is not what we want? If so, what is the goal?

That is what I want, but I don't manage to construct the proper line to use within the configure script from your hint


Reply to this email directly, view it on GitHub, or unsubscribe.
Triage notifications, keep track of coding agent tasks and review pull requests on the go with GitHub Mobile for iOS and Android. Download it today!

You are receiving this because you are subscribed to this thread.Message ID: <wxWidgets/wxWidgets/pull/26578/c4819698379@github.com>

VZ

unread,
Jun 27, 2026, 2:11:22 PM (5 days ago) Jun 27
to wx-...@googlegroups.com, Push

@vadz pushed 1 commit.

  • aa2d026 Use earliest supported macOS version in configure by default


View it on GitHub or unsubscribe.


Triage notifications, keep track of coding agent tasks and review pull requests on the go with GitHub Mobile for iOS and Android. Download it today!

You are receiving this because you are subscribed to this thread.Message ID: <wxWidgets/wxWidgets/pull/26578/before/2268c9b5bed6686631618ef6d3c3d462f70e7f59/after/aa2d026b8c75941842b4640d37952cba154774d3@github.com>

VZ

unread,
Jun 27, 2026, 2:12:04 PM (5 days ago) Jun 27
to wx-...@googlegroups.com, Subscribed
vadz left a comment (wxWidgets/wxWidgets#26578)

Sorry, I made a typo in my reply (missing /). I've now pushed the modified configure, does this do what is needed?


Reply to this email directly, view it on GitHub, or unsubscribe.
Triage notifications, keep track of coding agent tasks and review pull requests on the go with GitHub Mobile for iOS and Android. Download it today!

You are receiving this because you are subscribed to this thread.Message ID: <wxWidgets/wxWidgets/pull/26578/c4819964540@github.com>

Stefan Csomor

unread,
Jun 27, 2026, 3:02:15 PM (5 days ago) Jun 27
to wx-...@googlegroups.com, Subscribed
csomor left a comment (wxWidgets/wxWidgets#26578)

@vadz thanks, I fear there is now some whitespace after the -version-min= where it should not be:

checking SDK deployment version...         12.0
checking if C compiler (gcc -isysroot /Applications/Xcode-beta.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk -mmacosx-version-min=        12.0) works with SDK/version options... configure: error: in `/Users/cs/

and you've also removed the 'old' part that deals with systems where the key is buildSettings, I think we should let that one in, as I assume its for older SDKs


Reply to this email directly, view it on GitHub, or unsubscribe.
Triage notifications, keep track of coding agent tasks and review pull requests on the go with GitHub Mobile for iOS and Android. Download it today!

You are receiving this because you are subscribed to this thread.Message ID: <wxWidgets/wxWidgets/pull/26578/c4820425490@github.com>

VZ

unread,
Jun 27, 2026, 7:03:34 PM (5 days ago) Jun 27
to wx-...@googlegroups.com, Push

@vadz pushed 1 commit.

  • bfc608f fixup! Use earliest supported macOS version in configure by default


View it on GitHub or unsubscribe.


Triage notifications, keep track of coding agent tasks and review pull requests on the go with GitHub Mobile for iOS and Android. Download it today!

You are receiving this because you are subscribed to this thread.Message ID: <wxWidgets/wxWidgets/pull/26578/before/aa2d026b8c75941842b4640d37952cba154774d3/after/bfc608fc84f40de772ef2cdec838141816ae754a@github.com>

VZ

unread,
Jun 27, 2026, 7:04:39 PM (5 days ago) Jun 27
to wx-...@googlegroups.com, Subscribed
vadz left a comment (wxWidgets/wxWidgets#26578)

@vadz thanks, I fear there is now some whitespace after the -version-min= where it should not be:

Ugh, sorry, fixed.

and you've also removed the 'old' part that deals with systems where the key is buildSettings, I think we should let that one in, as I assume its for older SDKs

As I wrote in the commit message, I don't think any still supported Xcode needs this, it was used by very old (like Xcode 1.x) versions from what I could find.


Reply to this email directly, view it on GitHub, or unsubscribe.
Triage notifications, keep track of coding agent tasks and review pull requests on the go with GitHub Mobile for iOS and Android. Download it today!

You are receiving this because you are subscribed to this thread.Message ID: <wxWidgets/wxWidgets/pull/26578/c4822762682@github.com>

Stefan Csomor

unread,
Jun 28, 2026, 4:11:05 AM (4 days ago) Jun 28
to wx-...@googlegroups.com, Subscribed
csomor left a comment (wxWidgets/wxWidgets#26578)

As I wrote in the commit message, I don't think any still supported Xcode needs this, it was used by very old (like Xcode 1.x) versions from what I could find.

sorry, my bad, I only read the title,

I've now looked at the different SDKs down to the lowest 10.11 we support in 3.3

Starting from macOS 10.14 SDK there is a key in DefaultProperties named DEPLOYMENT_TARGET_SUGGESTED_VALUES,

Below that eg in 10.11 there is no buildSettings anymore, you are right, but in DefaultProperties there already is the single MACOSX_DEPLOYMENT_TARGET key whose value corresponds to the SDK version. So this would be the former extraction command line, that could deal with that, but only if there is no DEPLOYMENT_TARGET_SUGGESTED_VALUES


Reply to this email directly, view it on GitHub, or unsubscribe.
Triage notifications, keep track of coding agent tasks and review pull requests on the go with GitHub Mobile for iOS and Android. Download it today!

You are receiving this because you are subscribed to this thread.Message ID: <wxWidgets/wxWidgets/pull/26578/c4825340838@github.com>

VZ

unread,
Jun 28, 2026, 6:21:46 PM (4 days ago) Jun 28
to wx-...@googlegroups.com, Subscribed
vadz left a comment (wxWidgets/wxWidgets#26578)

So you think we need a fallback on MACOSX_DEPLOYMENT_TARGET if DEPLOYMENT_TARGET_SUGGESTED_VALUES is not present, is that right?


Reply to this email directly, view it on GitHub, or unsubscribe.
Triage notifications, keep track of coding agent tasks and review pull requests on the go with GitHub Mobile for iOS and Android. Download it today!

You are receiving this because you are subscribed to this thread.Message ID: <wxWidgets/wxWidgets/pull/26578/c4827576541@github.com>

Stefan Csomor

unread,
Jun 29, 2026, 1:20:53 AM (3 days ago) Jun 29
to wx-...@googlegroups.com, Subscribed
csomor left a comment (wxWidgets/wxWidgets#26578)

Yes, the "old" one should be taken in that case (happening in SDK macOS 10.11 - 10.13)


Reply to this email directly, view it on GitHub, or unsubscribe.
Triage notifications, keep track of coding agent tasks and review pull requests on the go with GitHub Mobile for iOS and Android. Download it today!

You are receiving this because you are subscribed to this thread.Message ID: <wxWidgets/wxWidgets/pull/26578/c4829230983@github.com>

VZ

unread,
Jun 30, 2026, 7:18:12 PM (2 days ago) Jun 30
to wx-...@googlegroups.com, Push

@vadz pushed 1 commit.

  • 5c708cf squash! Use earliest supported macOS version in configure by default


View it on GitHub or unsubscribe.


Triage notifications, keep track of coding agent tasks and review pull requests on the go with GitHub Mobile for iOS and Android. Download it today!

You are receiving this because you are subscribed to this thread.Message ID: <wxWidgets/wxWidgets/pull/26578/before/bfc608fc84f40de772ef2cdec838141816ae754a/after/5c708cf9d14564814ab081742991783f1c952ced@github.com>

VZ

unread,
Jun 30, 2026, 7:18:50 PM (2 days ago) Jun 30
to wx-...@googlegroups.com, Subscribed
vadz left a comment (wxWidgets/wxWidgets#26578)

Hopefully this should be complete then?

I've also golfed it a bit as we don't need to run multiple commands when a single one will do.


Reply to this email directly, view it on GitHub, or unsubscribe.
Triage notifications, keep track of coding agent tasks and review pull requests on the go with GitHub Mobile for iOS and Android. Download it today!

You are receiving this because you are subscribed to this thread.Message ID: <wxWidgets/wxWidgets/pull/26578/c4848698034@github.com>

Stefan Csomor

unread,
Jul 1, 2026, 11:44:36 AM (yesterday) Jul 1
to wx-...@googlegroups.com, Subscribed
csomor left a comment (wxWidgets/wxWidgets#26578)

Hopefully this should be complete then?

I've also golfed it a bit as we don't need to run multiple commands when a single one will do.

something went wrong,

WARNING: Could not determine deployment target from SDKSettings.plist

and I don't manage to see what the problem is, the variable defaultProperties is filled correctly and if I execute the line

MACOSX_SDK_PLIST_VERSION_MIN=`echo $defaultProperties | sed -n -e '1,/DEPLOYMENT_TARGET_SUGGESTED_VALUES/d; s/^ *//; s/"//g; s/,//p; q'`

in the shell everything is calculated correctly, but in the configure script MACOSX_SDK_PLIST_VERSION_MIN remains empty ...


Reply to this email directly, view it on GitHub, or unsubscribe.
Triage notifications, keep track of coding agent tasks and review pull requests on the go with GitHub Mobile for iOS and Android. Download it today!

You are receiving this because you are subscribed to this thread.Message ID: <wxWidgets/wxWidgets/pull/26578/c4857168494@github.com>

VZ

unread,
Jul 1, 2026, 8:10:00 PM (16 hours ago) Jul 1
to wx-...@googlegroups.com, Push

@vadz pushed 1 commit.

  • 745e8c5 fixup! squash! Use earliest supported macOS version in configure by default


View it on GitHub or unsubscribe.


Triage notifications, keep track of coding agent tasks and review pull requests on the go with GitHub Mobile for iOS and Android. Download it today!

You are receiving this because you are subscribed to this thread.Message ID: <wxWidgets/wxWidgets/pull/26578/before/5c708cf9d14564814ab081742991783f1c952ced/after/745e8c54b87a583ead496dbe4be3414abd5c91ac@github.com>

VZ

unread,
Jul 1, 2026, 8:10:04 PM (16 hours ago) Jul 1
to wx-...@googlegroups.com, Subscribed
vadz left a comment (wxWidgets/wxWidgets#26578)

Sorry, I stupidly forgot to quote :-( Should really work now.


Reply to this email directly, view it on GitHub, or unsubscribe.
Triage notifications, keep track of coding agent tasks and review pull requests on the go with GitHub Mobile for iOS and Android. Download it today!

You are receiving this because you are subscribed to this thread.Message ID: <wxWidgets/wxWidgets/pull/26578/c4861043229@github.com>

Stefan Csomor

unread,
2:10 AM (10 hours ago) 2:10 AM
to wx-...@googlegroups.com, Subscribed
csomor left a comment (wxWidgets/wxWidgets#26578)

Thanks a lot, configure works perfectly, build is running now, I'll report


Reply to this email directly, view it on GitHub, or unsubscribe.
Triage notifications, keep track of coding agent tasks and review pull requests on the go with GitHub Mobile for iOS and Android. Download it today!

You are receiving this because you are subscribed to this thread.Message ID: <wxWidgets/wxWidgets/pull/26578/c4862716979@github.com>

Stefan Csomor

unread,
3:19 AM (9 hours ago) 3:19 AM
to wx-...@googlegroups.com, Subscribed
csomor left a comment (wxWidgets/wxWidgets#26578)

ok, builds fine, sample runs


Reply to this email directly, view it on GitHub, or unsubscribe.
Triage notifications, keep track of coding agent tasks and review pull requests on the go with GitHub Mobile for iOS and Android. Download it today!

You are receiving this because you are subscribed to this thread.Message ID: <wxWidgets/wxWidgets/pull/26578/c4863192497@github.com>

Reply all
Reply to author
Forward
0 new messages