Could not get trait set for device MacFamily20,1 with version 14.2

Viewed 480

I am getting this warning for a brandnew Xcode 12.3 iOS project:

Could not get trait set for device MacFamily20,1 with version 14.2

in Assets.xcassets

enter image description here

My build target is "My Mac (Designed for iPad)" on a MacBook Air M1

What does it mean? How do I get rid of it?

2 Answers

This only happens in Debug mode. If you try building in Release mode It will be disappear.

In the Deployment Info (Target - General), the Designed for iPad is available only if you select the Option Mac, select it and unselect Mac option.

Related