Running under Parallels crashes XCode apps

I created a fresh SwiftUI project and added a button with no code. I built and ran the app and clicked the do nothing button.

My app promptly crashed with the following complaint:

validateComputeFunctionArguments:830: failed assertion `Compute Function(ciKernelMain): writes texture ([0]) whose usage (0x00) doesn't specify MTLTextureUsageShaderWrite (0x02)'

Since the only unusual is that I am running under Parallels virtualization, it implies a conflict between it and a simple swift build.

Well, debug your app first.

I think you misread my query.

Unless you are using Metal directly in your app, this might be a bug.

Can you please report a bug with Feedback Assistant? A sysdiagnose from the host could be useful. Please also indicate the version of macOS used by the host and guest, in case it's a compatibility issue.

If you can attach a sample app with the feedback, that would be useful for the engineers to work on it!

Submitted. Thanks.

@mauricev Were you able to solve this or get response to your submitted feedback?

Running under Parallels crashes XCode apps
 
 
Q