[mac] bump version to 3.1.2