It seems as though it should be fairly obvious but i haven’t found it yet so i’d appreciate it. Thanks in advance!
Newer versions of OpenFL throw an error message if you have the wrong version of Lime (and it will say what version it is expecting). I want to have wildcard version support in haxelib, and contributed a pull request (so OpenFL could just say <haxelib name="lime" version="5.1.*" />, etc) but it has not been accepted. Another way is to compare https://github.com/openfl/openfl/blob/develop/CHANGELOG.md and https://github.com/openfl/lime/blob/develop/CHANGELOG.md, as we often release on the same day, but generally OpenFL versions should be locked to a specific minor version of Lime (like 4.9) but not a specific patch version (4.9.2) as a maximum
<haxelib name="lime" version="5.1.*" />