RubyMoon错误:叮当声分段错误:11
所以决定今天试用RubyMotion,但第一步出现错误:( 当我运行“rake设备”时,我得到以下错误:RubyMoon错误:叮当声分段错误:11,ruby,xcode,clang,rubymotion,Ruby,Xcode,Clang,Rubymotion,所以决定今天试用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
→ 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设备时才会出现问题
app.archs['iPhoneOS'] = ['armv7']
到您的rake文件。这为我修复了它。这已删除了叮当声分段…错误,现在替换为:错误:ApplicationVerificationFailed,我怀疑这可能是Xcode相关的问题。