carthage updateで「Building universal frameworks with common architectures is not possible.」というエラーが出た時の対処方法

Xcode13でCarthageを使用してライブラリを更新しようとした時に以下のようなエラーがでました。

Building universal frameworks with common architectures is not possible. The device and simulator slices for "SwiftDate" both build for: arm64
Rebuild with --use-xcframeworks to create an xcframework bundle instead.

このようなエラーが出たときは以下のコマンドでライブラリをアップデートすることが可能です。

$ carthage bootstrap --platform iOS --use-xcframeworks