de.
de.

Reputation: 8507

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

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?

Upvotes: 7

Views: 4182

Answers (2)

Regis Banville
Regis Banville

Reputation: 11

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.

Upvotes: 0

zeytin
zeytin

Reputation: 5643

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

Upvotes: 2

Related Questions