pyobjc-framework-gamesave provides Python bindings for Apple's macOS GameSave framework. It is part of the larger PyObjC bridge, which allows Python scripts to use and extend Objective-C class libraries, primarily the Cocoa frameworks. The library is actively maintained, with releases frequently aligning with new macOS SDK versions, and its current version is 12.1.
pip install pyobjc-framework-gamesaveVerified import paths — ran on the pinned version, not inferred.
This example demonstrates how to import and instantiate `GSGameSaveManager`, a core class from the GameSave framework, using PyObjC. It follows the common Objective-C `alloc().init()` pattern for object creation and prints the object's description. Note that actual GameSave operations might require a running macOS application context or specific entitlements.
Upgrade to Python 3.10 or later, or downgrade `pyobjc-framework-gamesave` to a compatible version if one existed (note: GameSave bindings were introduced in 12.0).
Upgrade to Python 3.9 or later (for PyObjC 11.x), or 3.10 or later (for PyObjC 12.x).
Ensure `pyobjc-framework-gamesave` is installed with `pyobjc-core>=12.0`. Use `pip install 'pyobjc-framework-gamesave>=12.0'`.
Upgrade to `pyobjc-framework-gamesave` version 12.1 or later to avoid potential installation issues on Python 3.9 (though Python 3.9 itself is not supported by PyObjC 12.x).
Review the PyObjC 10.3 and 10.3.1 release notes regarding `__init__` and `__new__` behavior, and ensure your custom `__new__` implementations are compatible with the specific PyObjC version used.
Consult PyObjC documentation for current free-threading support status with Python 3.13. For stability, consider using non-free-threaded Python 3.13 or Python 3.12 until full support is confirmed.