Bridging-header.h causes Command /Applications/Xco

2019-08-10 01:40发布

问题:

If i add this line to my PROJECT-Bridging-Header.h file

#import "Typhoon.h"

Xcode 6.1 throws this error /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/swiftc failed with exit code 1

Typhoon framework is added by CocoaPods exactly like in the tutorial

I tried several thinks, but nothing helped

  • Delete XCODE deriver data
  • create new Project
  • delete and create new bridging-header.h file

回答1:

Ran across a similar kind of issue, needed to clean up the project Compile Sources listed under Build Phases. Ref to image

This issue creeped due to multiple structural changes done on the project by multiple people via a common source repository.