Error DVTAssertions while running a flutter app on iPad

I have a flutter app which runs perfectly in Android and I runned it on iOS in the past. But now when I try to do 'flutter run' in an iPad it throws this error:

Code Block
Error output from Xcode build:
2021-04-19 15:35:36.697 xcodebuild[40866:300167] DVTAssertions: Warning in /Library/Caches/com.apple.xbs/Sources/DVTiOSFrameworks/DVTiOSFrameworks-17705/DTDeviceKitBase/DTDKRemoteDeviceData.m:371
Details: (null) deviceType from 00008101-00126D441E38001E was NULL when -platform called.
Object: <DTDKMobileDeviceToken: 0x7fd06bf0ad60>
Method: -platform
Thread: <NSThread: 0x7fd06b93d400>{number = 4, name = (null)}
Please file a bug at https://feedbackassistant.apple.com with this warning message and any useful information you can provide.
2021-04-19 15:35:37.102 xcodebuild[40866:300280] DVTAssertions: Warning in /Library/Caches/com.apple.xbs/Sources/DVTiOSFrameworks/DVTiOSFrameworks-17705/DTDeviceKitBase/DTDKRemoteDeviceData.m:371
Details: (null) deviceType from 00008101-00126D441E38001E was NULL when -platform called.
Object: <DTDKMobileDeviceToken: 0x7fd06bf0ad60>
Method: -platform
Thread: <NSThread: 0x7fd06b89fb80>{number = 7, name = (null)}
Please file a bug at https://feedbackassistant.apple.com with this warning message and any useful information you can provide.
2021-04-19 15:35:37.254 xcodebuild[40866:300280] DVTAssertions: Warning in /Library/Caches/com.apple.xbs/Sources/DVTiOSFrameworks/DVTiOSFrameworks-17705/DTDeviceKitBase/DTDKRemoteDeviceData.m:371
Details: (null) deviceType from 00008101-00126D441E38001E was NULL when -platform called.
Object: <DTDKMobileDeviceToken: 0x7fd06bf0ad60>
Method: -platform
Thread: <NSThread: 0x7fd06b89fb80>{number = 7, name = (null)}
Please file a bug at https://feedbackassistant.apple.com with this warning message and any useful information you can provide.
BUILD FAILED


I've never seen a message like this, What can I do to solve it?

Ditto: DVTAssertions: Warning in /Library/Caches/com.apple.xbs/Sources/DVTiOSFrameworks/DVTiOSFrameworks-17705/DTDeviceKitBase/DTDKRemoteDeviceData.m:371

I've raised a bug report. I'll let you know if I get a reply.
You may also want to submit yours. The more the merrier...
I've the same issue this morning when installing the apps to iPad. The issue was due to the Signing & Capabilities not being proper assigned in Xcode. I can install it to iPad after I assigning it properly in Xcode.
My Signing & capabilities are ok.. I'm still facing this error

I get this same warning whenever I try to build an app (a macOS app) using xcodebuild when I have a locked iOS device connected to my machine.

Unlocking the device suppresses the warning in xcodebuild.

Having the same problem. Trying to build a Xamarin app so possibly related issue at https://github.com/dotnet/maui/issues/15542

Error DVTAssertions while running a flutter app on iPad
 
 
Q