Failed to emit precompiled header for bridging header

后端 未结 20 1527
傲寒
傲寒 2020-11-30 04:35

I downloaded a project from GitHub, then pod the following files, some of which are written by OBJ-C and I used a bridge header.

pod ‘SnapKit’
pod ‘MJRefresh         


        
20条回答
  •  陌清茗
    陌清茗 (楼主)
    2020-11-30 05:17

    In my case I had the same compiler error with additional errors like "Unknown type" in one of my project files, So I just added this to the problematic file, and it solved it instantly.

    #import

提交回复
热议问题