Ambar-SwiftUI icon indicating copy to clipboard operation
Ambar-SwiftUI copied to clipboard

Metal API Validation Enabled

Open utdrmac opened this issue 4 years ago • 4 comments

Cloned your repo. Compiled. Ran. Clicked 'Quit App' button and this appeared in the XCode console:

2021-07-21 23:34:48.335409-0500 Ambar[48694:20933608] Metal API Validation Enabled
2021-07-21 23:34:48.373780-0500 Ambar[48694:20933608] MTLIOAccelDevice bad MetalPluginClassName property (null)
2021-07-21 23:34:48.377114-0500 Ambar[48694:20933608] +[MTLIOAccelDevice registerDevices]: Zero Metal services found
2021-07-21 23:34:48.398127-0500 Ambar[48694:20934158] fopen failed for data file: errno = 2 (No such file or directory)
2021-07-21 23:34:48.398186-0500 Ambar[48694:20934158] Errors found! Invalidating cache...
2021-07-21 23:34:48.451883-0500 Ambar[48694:20934158] fopen failed for data file: errno = 2 (No such file or directory)
2021-07-21 23:34:48.451931-0500 Ambar[48694:20934158] Errors found! Invalidating cache...

utdrmac avatar Jul 22 '21 04:07 utdrmac

Strange. Shouldn't have happened. Did this happen only once or is it happening all the time?

Also, what's your hardware and software specifications?

AnaghSharma avatar Jul 22 '21 15:07 AnaghSharma

Every time I run it and quit I get that message MacBookPro 2019 (last gen x86) BigSur 11.4 XCode 12.5.1

utdrmac avatar Jul 22 '21 17:07 utdrmac

Sorry, I have been unable to get on this and check what's wrong. I'll get back to you once I have something to share. Thanks.

AnaghSharma avatar Aug 17 '21 18:08 AnaghSharma

It's the Quit button for some reason, if you comment that out the warning goes away.

You can disable the warning (Edit Scheme > Run > Diagnostics)

gingerbeardman avatar May 27 '23 00:05 gingerbeardman