Bridging-header.h causes Command /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/swiftc failed with exit code 1

≡放荡痞女 提交于 2019-12-11 13:35:54

问题


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

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!