苹果 LLVM 9.0 错误 [英] Apple LLVM 9.0 Error

查看:31
本文介绍了苹果 LLVM 9.0 错误的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我最近将我的 Xcode 更新到了 9.0.1 版,但是我的项目无法在我的 iPhone 中正常运行,但它可以在模拟器中正确运行.这是日志信息:

I have recently updated my Xcode to version 9.0.1, but then my project cannot work properly in my iPhone, yet it can run correctly in the simulator. Here is the log infomation:

clang: error: unable to execute command: Segmentation fault: 11
clang: error: clang frontend command failed due to signal (use -v to see invocation)
Apple LLVM version 9.0.0 (clang-900.0.38)
Target: aarch64-apple-darwin16.7.0
Thread model: posix
InstalledDir:/Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin
clang: note: diagnostic msg: PLEASE submit a bug report to http://developer.apple.com/bugreporter/ and include the crash backtrace, preprocessed source, and associated run script.
clang: note: diagnostic msg: 
********************

PLEASE ATTACH THE FOLLOWING FILES TO THE BUG REPORT:
Preprocessed source(s) and associated run script(s) are located at:
clang: note: diagnostic msg: 
/var/folders/45/mzdnwtsn6bx8wlzgl0svljdc0000gn/T/ExchangeHistoryController-141ae9.m
clang: note: diagnostic msg: /var/folders/45/mzdnwtsn6bx8wlzgl0svljdc0000gn/T/ExchangeHistoryController-141ae9.cache
clang: note: diagnostic msg: /var/folders/45/mzdnwtsn6bx8wlzgl0svljdc0000gn/T/ExchangeHistoryController-141ae9.sh
clang: note: diagnostic msg: /var/folders/45/mzdnwtsn6bx8wlzgl0svljdc0000gn/T/ExchangeHistoryController-141ae9.crash
clang: note: diagnostic msg: 

********************

我在网上发现有些人之前也遇到过同样的问题,然后在 Xcode 构建设置中关闭了位码来解决这个问题.我做了同样的事情,没有对我有用.有没有人成功解决这个问题?任何想法将不胜感激!

I found online that some guys have met the same problem before and then turned off the bitcode in the Xcode build settings to fix this. I did the same thing , nothing worked for me. Does anybody have succeeded in fixing this? Any idea would be appreciated!

推荐答案

重新启动 Xcode.选择 Xcode -> 产品 -> 清洁.希望这可以解决您的问题.这对我有用.

Restart the Xcode. Select Xcode -> Product -> Clean. Hope this may solve your issue. This worked for me.

这篇关于苹果 LLVM 9.0 错误的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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