Failed to emit precompiled header for bridging header

后端 未结 20 1536
傲寒
傲寒 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:28

    XCode can build seccessful in the some target, but the other target can not.
    Finally, I found that Header Search Paths is not the same. (Path: Target > Build Settings > Search Paths > Header Search Paths > add item)
    I copied & pasted the path from the successful target. I made it. Bravo.

提交回复
热议问题