首页
学习
活动
专区
圈层
工具
发布
社区首页 >问答首页 >RubyMotion错误: clang分割错误: 11

RubyMotion错误: clang分割错误: 11
EN

Stack Overflow用户
提问于 2015-06-22 14:54:15
回答 1查看 133关注 0票数 2

所以决定今天试用RubyMotion,但是第一步就出错了:

当我运行“rake设备”时,会得到以下错误:

代码语言:javascript
复制
→ rake device        
   Build ./build/iPhoneOS-9.0-Development
   Compile ./app/app_delegate.rb
    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 7.0.0 (clang-700.0.53)
    Target: aarch64-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: Error generating preprocessed source(s) - no preprocessable inputs.
    rake aborted!
    Command failed with status (254): [/Applications/Xcode-beta.app/Contents/Deve...]
    /Library/RubyMotion/lib/motion/project/builder.rb:153:in `block (2 levels) in build'
    /Library/RubyMotion/lib/motion/project/builder.rb:131:in `each'
    /Library/RubyMotion/lib/motion/project/builder.rb:131:in `block in build'
    /Library/RubyMotion/lib/motion/project/paralel_builder.rb:47:in `call'
    /Library/RubyMotion/lib/motion/project/paralel_builder.rb:47:in `block (2 levels) in initialize'
    Tasks: TOP => device => archive => build:device
    (See full trace by running task with --trace)

有人有什么想法吗?只需要调用rake就可以作为模拟器运行,但是只有当我调用rake device时才会出现问题。

EN

回答 1

Stack Overflow用户

发布于 2015-06-30 05:44:06

试着添加

代码语言:javascript
复制
app.archs['iPhoneOS'] = ['armv7']

到你的档案里。帮我修好了。

票数 1
EN
页面原文内容由Stack Overflow提供。腾讯云小微IT领域专用引擎提供翻译支持
原文链接:

https://stackoverflow.com/questions/30983157

复制
相关文章

相似问题

领券
问题归档专栏文章快讯文章归档关键词归档开发者手册归档开发者手册 Section 归档