ManagedAppDistribution Framework - Compile time errors

https://developer.apple.com/documentation/managedappdistribution

https://developer.apple.com/documentation/appdistribution/fetching-and-displaying-managed-apps

We have tested the above apple documentation regarding Managed Application Distribution . To Note : We are trying to provide a custom AppStore in our MDM App for Managed Apps.

We have done all the steps mentioned in the documentation

  1. Got Entitlement and enabled for the app.
  2. Used the Exact code in a new swift UI Project
  3. Attaching Screenshots for the compile time error , i get
  4. First Screenshot , shows an error when building the project with a physical device(iOS 17.4).

  1. Seconds one , shows different error when building with a simulator.

I have checked all the apple documentations and wwdc videos for further clue on this. But no help !

It will be helpful, if anyone help me with exact working model for this framework.

Hi MDM iOS Dev, I am also getting the same error and not fetching any available apps using ManagedAppDistribution.

Have you been able to find a solution to how to implement ManagedAppDistribution API?

ManagedAppDistribution Framework - Compile time errors
 
 
Q