所以决定今天试用RubyMotion,但是第一步就出错了:
当我运行“rake设备”时,会得到以下错误:
→ 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时才会出现问题。
发布于 2015-06-30 05:44:06
试着添加
app.archs['iPhoneOS'] = ['armv7']到你的档案里。帮我修好了。
https://stackoverflow.com/questions/30983157
复制相似问题