Xcode macOS app -Zero Metal services found

I'm using Xcode 12.5.1. When I follow a swift goose tutorial for Outline view and Treeview, I've followed it exactly. It fails with...

2021-09-04 09:32:44.832345-0700 treeview1[21236:868981] Metal API Validation Enabled

2021-09-04 09:32:44.851673-0700 treeview1[21236:868981] MTLIOAccelDevice bad MetalPluginClassName property (null)

2021-09-04 09:32:44.853029-0700 treeview1[21236:868981] +[MTLIOAccelDevice registerDevices]: Zero Metal services found

When I download swift goose's project code from GitHub, it works without any error.... The only thing I can think of is (1) When I set Xcode for a new project using macOS and app, I'm missing something, even though it basically looks all the same. (2) Something I'm missing in my Xcode set up due to the fact I've got the "free" Xcode verses developer? Something linking behind the scene's? Is there a difference?

Accepted Answer

Can you share the source code for your project? Also what Mac and OS version are you running your project on?

O.K., this is amazing and I still don't believe it... My project continues to give the above output on the debug screen. But what solved the problem was on the StoryBoard I increased the size of the bottom window, rearranged the TableView and Buttons, then it worked????

I'm glad you could get it working! Still, it sounds like this is a bug, Feel free to report it on Feedback Assistant.

Some more info...This is indeed a bug in Big Sur, but should be benign. It should be fixed in recent Monterey betas.

I have the same problem when I'm using the macOS 11.4 (20F71), Xcode 12.5.1 (12E507) or Xcode-beta 13.0, MacBook Pro (Retina, 13-inch, Mid 2014).

But the same code work on macOS 10.14.6, Xcode 10.1 (10B61), MacBook Pro (Retina, 13-inch, Early 2015).

Xcode macOS app -Zero Metal services found
 
 
Q