diff --git a/docs/changelog.rst b/docs/changelog.rst index a15f7bb6e3..2a75a28c8f 100644 --- a/docs/changelog.rst +++ b/docs/changelog.rst @@ -11,12 +11,17 @@ Version 10.3 PyObjC does at this time not support the experimental free threading support in Python 3.13. +* :issue:`569`: Removed the workaround for a bug in Xcode 15.0 + + The workaround is no longer necessary, and caused problems when + building with the Command Line Tools development tools from Apple. + * Updated SDK bindings for macOS 14.5 * A minor change in the (currently private) tooling I use for collecting the raw metadata resulted in minor fixes to the framework - bindings, in particular for metadata for a number of block typed - arguments and return values. + bindings, in particular for metadata for a number of block and function + typed arguments and return values. * :issue:`275`: It is now possible to create instances of Objective-C classes by calling the class, e.g. ``NSObject()`` instead of diff --git a/pyobjc-core/setup.py b/pyobjc-core/setup.py index ac8ed3b63d..a5b42c382c 100644 --- a/pyobjc-core/setup.py +++ b/pyobjc-core/setup.py @@ -594,16 +594,6 @@ def finalize_options(self): CFLAGS.append("-DNO_OBJC2_RUNTIME") EXT_CFLAGS.append("-DNO_OBJC2_RUNTIME") - lines = subprocess.check_output( - ["xcodebuild", "-version"], text=True - ).splitlines() - if lines[0].startswith("Xcode"): - xcode_vers = int(lines[0].split()[-1].split(".")[0]) - if xcode_vers >= 15: - for var in (OBJC_LDFLAGS,): - print("Use old linker with Xcode 15 or later") - var.append("-Wl,-ld_classic") - def run(self): verify_platform()