iOS XCode编译错误:无法执行命令:分段故障:11 [英] iOS XCode compile error: unable to execute command: Segmentation fault: 11

查看:2283
本文介绍了iOS XCode编译错误:无法执行命令:分段故障:11的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我有一个项目,过去编译完美,但在最后一次xcode更新(6.3.2)后,我得到一个编译错误,当我尝试直接在设备上运行它。建立和运行它在模拟器工作正常。存档功能也很好。但是无论我连接什么设备或设备运行的iOS版本,我总是得到相同的编译错误:

I have a project which compiled perfectly in the past, but after the last xcode update (6.3.2) I get a compile error whenever I try to run it directly on a device. Building and Running it in the simulator works fine. The Archive function works fine as well. But no matter what device I connect or what iOS version the device is running, I always get the same compile error:

Stack dump:

0.  /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneOS.platform/Developer/SDKs/iPhoneOS8.3.sdk/System/Library/Frameworks/CoreImage.framework/Headers/CIFilter.h:221:39: current parser token 'NS_REQUIRES_NIL_TERMINATION'
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 6.1.0 (clang-602.0.53) (based on LLVM 3.6.0svn)
Target: arm-apple-darwin14.3.0
Thread model: posix
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/p5/2yjs4f055hb0vvgl12yvj38r0000gq/T/SmallAdsSystem-a86b3e.m
clang: note: diagnostic msg: /var/folders/p5/2yjs4f055hb0vvgl12yvj38r0000gq/T/SmallAdsSystem-a86b3e.cache
clang: note: diagnostic msg: /var/folders/p5/2yjs4f055hb0vvgl12yvj38r0000gq/T/SmallAdsSystem-a86b3e.sh
clang: note: diagnostic msg: 

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




  1. 它显示我应该提交到错误报告的随机文件。

  2. 我没有从一个工作版本的任何代码更改到导致当前问题的版本,我甚至还原到一个早期版本,它是在Appstore中运行,但仍然是相同的错误。 li>
  3. 我已删除xcode并通过应用商店重新安装

  4. 我尝试更改我的代码,以确定任何问题,但由于源文件

这促使我疯狂。
任何帮助是非常感谢

This is driving me mad. Any help is much appreciated

推荐答案

显然这是一个错误在我的Xcode版本。不得不回到一个旧的一切,一切再次工作。有了最新的更新,一切再次正常工作。

Apparently it was a bug in my Xcode version. Had to revert to an old one and everything worked again. With the newest update everything was working ok again.

这篇关于iOS XCode编译错误:无法执行命令:分段故障:11的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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