Just wanted to share a small issue I ran into upgrading to RM 5.0 and the macOS 10.13 SDK.
Some enums that you might have used in your code, for example
when NSAlertFirstButtonReturn # OK
are now typed constants, so you need to do
when NSModalResponse.NSAlertFirstButtonReturn # OK
You can see the difference in the bridgesupport files:
<constant const='true' declared_type='NSModalResponse' name='NSAlertFirstButtonReturn' type='i' type64='q'/>
<enum name='NSAlertFirstButtonReturn' value='1000'/>