v5.1.2
-
#254: Fix compile error on macOS 10.9 or earlier
-
#255: Calling completion handler failed due to incomplete runtime info
PyObjC's metadata system didn't automaticly set the call signature
for blocks passed into a method implemented in Python. This causes problems
when the ObjC or Swift block does not have signature information in the
ObjC/blocks runtime. -
Use MAP_JIT when allocating memory for the executable stubs for Python
methods.With the "restricted" runtime you'll have to add the "com.apple.security.cs.allow-jit"
entitlement to use this flag, in earlier versions you'd have to use
a different entitlement: "com.apple.security.cs.allow-unsigned-executable-memory".The MAP_JIT flag is only used on macOS 10.14 or later.
-
Ensure that PyObjC can be built using /usr/bin/python on macOS 10.14
This failed due the problems with header files in the SDK included with Xcode 10.