Metal Preformance Shader linker error

I added MetalPerformanceShaders.framework to my "Linked Frameworks and Libraries" list, but I get this build error:


Undefined symbols for architecture arm64:

"_OBJC_CLASS_$_MPSImageScale", referenced from:

objc-class-ref in DocumentViewController.o

ld: symbol(s) not found for architecture arm64


I'm using Swift and building in Xcode 9.4.1 for iOS 11. What am I missing?


Rob

Answered by rnikander in 323563022

Nevermind. It appears to be an abstract class. Unfortunately, the documentation that says this is only viewable in the Swift "header" file, but not in the Xcode documentation viewer. I wish I could view documentation in one central place.

Accepted Answer

Nevermind. It appears to be an abstract class. Unfortunately, the documentation that says this is only viewable in the Swift "header" file, but not in the Xcode documentation viewer. I wish I could view documentation in one central place.

Metal Preformance Shader linker error
 
 
Q