Bridging-header.h causes Command /Applications/Xco

2019-08-10 01:18发布

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条回答
爱情/是我丢掉的垃圾
2楼-- · 2019-08-10 01:59

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.

enter image description here

查看更多
登录 后发表回答