CMTime is defined in the CoreMedia.framework. Add that framework to your project. 转载于:https://www.cnblogs.com/wycstudy/p/9566993.html