skip to Main Content

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


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

    Login or Signup to reply.
  2. 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.

    Login or Signup to reply.
Please signup or login to give your own answer.
Back To Top
Search