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
Deleting Podfile.lock and re-running pod install fixed this for me.
Podfile.lock
pod install