Undefined symbols for architecture x86_64: "_CMTimeCopyDescription",

I try to create a thumb nail of a Quicktime movie file, using Swift 4 ... AVAssetImageGenerator.

On build that app this error occurs:


Ld /Users/Paul/Library/Developer/Xcode/DerivedData/CocoaSlideCollection-fgptodntmugsykenreeqogcwoimi/Build/Products/Debug/CocoaSlideCollection.app/Contents/MacOS/CocoaSlideCollection normal x86_64

Apple Mach-O Linker (ld) Error Group

Undefined symbols for architecture x86_64:

"_CMTimeCopyDescription", referenced from:

-[AAPLImageFile requestPreviewImage] in AAPLImageFile.o

...

ld: symbol(s) not found for architecture x86_64

clang: error: linker command failed with exit code 1 (use -v to see invocation)

...

-[AAPLImageFile requestPreviewImage] in AAPLImageFile.o


Any suggestion what I could do?

Thx Paul

Undefined symbols for architecture x86_64: "_CMTimeCopyDescription",
 
 
Q