swiftasyncdisplaykit

Texture(AsyncDisplayKit)


I am using Texture(AsyncDisplayKit) But i am facing one problem in below code

let videoNode = ASVideoNode()

Error is: Use of unresolved identifier 'ASVideoNode'

I used pod "Texture" for installation And also added #import <AsyncDisplayKit/AsyncDisplayKit.h> in bridging header file.

What should be the reason for this error?


Solution

  • You need to import the library.

    import AsyncDisplayKit

    Also make sure that you open the workspace and not the project file when using pods