Bridging-header.h导致命令/Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/swiftc失败,退出代码为1 [英] Bridging-header.h causes Command /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/swiftc failed with exit code 1

查看:181
本文介绍了Bridging-header.h导致命令/Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/swiftc失败,退出代码为1的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

如果我将此行添加到我的PROJECT-Bridging-Header.h文件

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

#import "Typhoon.h"

Xcode 6.1引发此错误 /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/swiftc failed with exit code 1

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

由CocoaPods添加台风框架,就像在本教程中一样

Typhoon framework is added by CocoaPods exactly like in the tutorial

我尝试了几种想法,但没有帮助

I tried several thinks, but nothing helped

  • 删除XCODE派生数据
  • 创建新项目
  • 删除并创建新的bridging-header.h文件

推荐答案

遇到类似问题,需要清理构建阶段"下列出的项目编译源".引用图片

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.

这篇关于Bridging-header.h导致命令/Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/swiftc失败,退出代码为1的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
相关文章
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆