问题
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.
来源:https://stackoverflow.com/questions/27177580/bridging-header-h-causes-command-applications-xcode-app-contents-developer-tool