Upload to a board gives an error message of the system because the eject of the media is not correct on macOS. Upload should work in background, in this case with ST-Link. german error message: