久々にRaspberry Pi にUbuntuを入れようかと思い、Pi Imagerを使ってSDカードを書き込もうとしたのですが、エラーが発生しました。以前にツイートしたかもしれませんが、すっかり忘れていましたのでメモとして残しておきます。
なお、Raspberry Pi Imagerは公式サイトからダウンロードが出来ます。

Raspberry Pi OS – Raspberry Pi
Fromindustrieslargeandsmall,tothekitchentabletinkerer,totheclassroomcoder,wemakecomputingaccessibleandaffordableforeverybody.
環境
本記事はmacOS Big Sur 11.1 で確認しています。
- MacBook Pro (13-inch, 2018, Four Thunderbolt 3 Ports)
- Intel Core i7、メモリ16GB
- 外付けのSDカードリーダを使用
事象
Ubuntu Server 20.04.1 LTS (64bit)を指定し、SDカードを選択しました。

Verifying write failed. Contents of SD card is different then what was written to it.

フォーラムの情報などを見ると、エラーが必ず発生する環境もあるようです。
回避
balena Etcherを使うとエラーが発生しません。balena Etcherをダウンロードします。
balenaEtcher - Flash OS images to SD cards & USB drives
Across-platformtooltoflashOSimagesontoSDcardsandUSBdrivessafelyandeasily.Freeandopensourceformakersaroundtheworld.
Ubuntu Server 20.04.1 LTSを公式からダウンロードしておきます。

Install Ubuntu on a Raspberry Pi | Ubuntu
Ubuntuisanopen-sourceoperatingsystemforcross-platformdevelopment,there'snobetterplacetogetstartedthanwithUbuntuonaRaspberryPi
balena Etcherを起動し、ダウンロードしたイメージ、SDカードを選択して、Flash!をクリックします。

しばらく待つと完了します。

あとはSDカードをRaspberry Piに挿して起動を確認してください。
以上、Verifying write failed. Contents of SD card is different then what was written to it. への対処でした。