I have developed an app with the MetalPerformanceShaders framework and now I am trying to use the same code in another application. The new app does not allow me to import the framework? I imagine it is to do with the frameworks feature availability(https://developer.apple.com/metal/availability/).
Is there anyway of decreasing the compatibility of the app but so that it allows the MetalPerformanceShaders framework? I have also tried embedding the framework binary or linking the framework.
Adding @available(iOS 10.0, *) before every class, function and struct that uses MPS solves the problem.