Welcome to OStack Knowledge Sharing Community for programmer and developer-Open, Learning and Share
Welcome To Ask or Share your Answers For Others

Categories

0 votes
330 views
in Technique[技术] by (71.8m points)

ios - 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?


与恶龙缠斗过久,自身亦成为恶龙;凝视深渊过久,深渊将回以凝视…
Welcome To Ask or Share your Answers For Others

1 Answer

0 votes
by (71.8m points)

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


与恶龙缠斗过久,自身亦成为恶龙;凝视深渊过久,深渊将回以凝视…
Welcome to OStack Knowledge Sharing Community for programmer and developer-Open, Learning and Share
Click Here to Ask a Question

...