This is the safest and most recommended method. It ensures the file hasn't been tampered with by third parties. You will need access to a real Mac or an existing macOS virtual machine to do this.