Closed digitalmoksha closed 6 years ago
Making an update to BridgeSupport to explicitly wire up this constant correctly (it's a rare API collision).
I'll make sure that both 10.12 and 10.13 work using your sample project and get a release out.
ah cool, thank you...
Building now, expect a release tonight (November 8th).
Edit: November 9th. Running full regression first (messaged you on Slack).
Fixed in RM 5.5. I verified the correct value is generated on 10.13, 10.12, and 10.11. Thanks Amir!
You can use
NSAppKitVersionNumber
to get the version of the AppKit you're running on (macOS), as well as compare it against constants for various appkit versions, such asNSAppKitVersionNumber10_12_2
On macOS 10.13.0,
NSAppKitVersionNumber
should equal1561.0
- this is what is shown when running a sample app built with XCode.RM 5.3 and 5.4 show
NSAppKitVersionNumber
as577.0
, which is equal toNSAppKitVersionNumber10_0
, OS X 10.0Here is a screen shot of printing those values with RM:
I have a sample project showing the issue, for both RM and XCode/Cocoa. https://github.com/digitalmoksha/rm_osx_test