Unable To Verify App with MacBook M1 and iPad

I am using XCode on my Mac Book Pro M1 and trying to run the iOS app being developed on my iPad (5th generation, 12.9 inch)

The devices are connected through USB-C cable.

I have enabled developer mode on my iPad, trusted the M1 device, the developer, and the app.

However the following appears on the iPad when trying to launch the app:

Unable to Verify App
An internet connection is required to verify trust of developer "Apple Development: ...". This app will not be available until verified

This seems to be an issue with M1 specifically, as other people seem to have this problem, and the application successfully runs on other iOS devices