mixing-objc-ruby icon indicating copy to clipboard operation
mixing-objc-ruby copied to clipboard

rake static failing

Open ashramsey opened this issue 12 years ago • 2 comments

Hi Clay,

Is rake static still useable with rubymotion? I am using version 2.27

I'm getting the following error

Thanks in advance

Ash

Ashs-MacBook-Pro-2:ruby ash$ rake static
require 'motion/project' is deprecated, please require 'motion/project/template/ios' instead
     Build ./build/iPhoneSimulator-7.1-Development
     Build vendor/CYAlert
   Compile vendor/CYAlert/CYAlert.m
   Compile ./app/cy_alert.rb
   Compile ./app/app_delegate.rb
    Create ./build/iPhoneSimulator-7.1-Development/MixingExample.a
     Build ./build/iPhoneOS-7.1-Development
     Build vendor/CYAlert
   Compile vendor/CYAlert/CYAlert.m
   Compile ./app/app_delegate.rb
   Compile ./app/cy_alert.rb
    Create ./build/iPhoneOS-7.1-Development/MixingExample.a
/usr/bin/libtool: for architecture arm64 object: /Library/RubyMotion/data/ios/7.1/iPhoneOS/librubymotion-static.a(array.o) malformed object (unknown load command 1)
rake aborted!
Command failed with status (1): [/usr/bin/libtool -static "/Library/RubyMot...]
/Library/RubyMotion/lib/motion/project/builder.rb:255:in `build'
/Library/RubyMotion/lib/motion/project/app.rb:78:in `build'
/Library/RubyMotion/lib/motion/project/template/ios.rb:225:in `block (2 levels) in <top (required)>'
/Library/RubyMotion/lib/motion/project/template/ios.rb:224:in `map'
/Library/RubyMotion/lib/motion/project/template/ios.rb:224:in `block in <top (required)>'
/Users/ash/.rvm/gems/ruby-2.0.0-p353/bin/ruby_executable_hooks:15:in `eval'
/Users/ash/.rvm/gems/ruby-2.0.0-p353/bin/ruby_executable_hooks:15:in `<main>'
Tasks: TOP => static
(See full trace by running task with --trace)

ashramsey avatar May 01 '14 04:05 ashramsey

Whoa, this seems weird - looks to be failing because of 64bit? Please file an issue with HipByte (linking to this ticket) with motion support

Sorry for the problems!

clayallsopp avatar May 02 '14 16:05 clayallsopp

Done. Thanks!

ashramsey avatar May 03 '14 00:05 ashramsey