archan937/motion-bundler

Can't work with RubyMotion2.2 / OSX 10.8

Closed this issue · 3 comments

Gemfile:

source "http://rubygems.org"

gem 'motion-bundler'

Rakefile:

# -*- coding: utf-8 -*-
$:.unshift("/Library/RubyMotion/lib")
require 'motion/project/template/ios'

require 'bundler'
Bundler.require

Motion::Project::App.setup do |app|
  # Use `rake config' to see complete project settings.
  app.name = 'TestMotionBundler-iOS'
end

MotionBundler.setup

Run:

$ rake
     Build ./build/MacOSX-10.8-Development
   Compile /Users/cpunion/test/motion/TestMotionBundler/.motion-bundler.rb
   Compile /Users/cpunion/test/motion/TestMotionBundler/app/app_delegate.rb
   Compile /Users/cpunion/.rvm/gems/ruby-2.0.0-p0/gems/motion-bundler-0.1.5/lib/motion-bundler/simulator/boot.rb
   Compile /Users/cpunion/test/motion/TestMotionBundler/app/menu.rb
   Compile /Users/cpunion/.rvm/gems/ruby-2.0.0-p0/gems/motion-bundler-0.1.5/lib/motion-bundler/simulator/core_ext.rb
   Compile /Users/cpunion/.rvm/gems/ruby-2.0.0-p0/gems/motion-bundler-0.1.5/lib/motion-bundler/simulator/console.rb
    Create ./build/MacOSX-10.8-Development/TestMotionBundler.app/Contents
    Create ./build/MacOSX-10.8-Development/TestMotionBundler.app/Contents/MacOS
      Link ./build/MacOSX-10.8-Development/TestMotionBundler.app/Contents/MacOS/TestMotionBundler
    Create ./build/MacOSX-10.8-Development/TestMotionBundler.app/Contents/Info.plist
    Create ./build/MacOSX-10.8-Development/TestMotionBundler.app/Contents/PkgInfo
      Copy ./resources/Credits.rtf
    Create ./build/MacOSX-10.8-Development/TestMotionBundler.dSYM
       Run ./build/MacOSX-10.8-Development/TestMotionBundler.app/Contents/MacOS/TestMotionBundler
Cannot define method `load:' because no Objective-C stub was pre-compiled for types `B@:^v'. Make sure you properly link with the framework or library that defines this message.
(main)> 

On iOS it's OK.

Why did you close the issue? Wasn't it an issue?

Seems duplicated with #1, is it?

Doh! You're right. Haven't got time yet to fix this.