Distributing D3DMetal with a Mac App Store app

Hello,

We develop a Mac App Store app that runs Windows on Apple silicon. We use D3DMetal from the Game Porting Toolkit so that DirectX 12 games and apps can run in it.

Today, each user has to download the Game Porting Toolkit, open the "Evaluation environment" disk image and point our app to D3DMetal.framework. Many users find this confusing, and we would like to make DirectX 12 work out of the box.

When we tried to bundle D3DMetal.framework in our app, App Store Connect rejected the upload:

▎ Invalid Bundle. The application bundle may not contain tools or frameworks provided by Apple, or using bundle identifiers in the 'com.apple.' namespace. Invalid bundle: D3DMetal … with bundle identifier 'com.apple.D3DMetal'.

We also note that the Game Porting Toolkit licence limits distribution to non-commercial purposes.

Our questions:

  1. Is there an approved way for a Mac App Store app to include or distribute D3DMetal, for example a commercial redistribution agreement or a separate licence?

  2. If not, is there a supported way for an App Store app to obtain D3DMetal on the user's Mac, such as an Apple-provided download or a system component it can use?

  3. Are there plans to make D3DMetal available to third-party apps, as a public framework or as part of macOS?

We want to follow Apple's licence and App Store guidelines, so any guidance on the correct approach would be much appreciated.

Thank you.