Closed stevebooks closed 10 years ago
That's weird. I assume you're using bundler. Which parts of motion-support do you require? Does the error disappear when you remove motion-support from your Gemfile?
Yes, it disappears when I remove motion-support. Here is my Gemfile:
source 'https://rubygems.org'
gem 'rake'
gem 'bubble-wrap', '1.4.0'
gem 'motion-require', '0.1.1'
gem 'motion-support', '0.2.6', :require => false
And my Rakefile:
# -*- coding: utf-8 -*-
$:.unshift("/Library/RubyMotion/lib")
require 'motion/project/template/ios'
#require 'motion-require'
#Motion::Require.all
begin
require 'bundler'
require 'bubble-wrap'
require 'motion-support/inflector'
Bundler.require
rescue LoadError
end
Motion::Project::App.setup do |app|
# Use `rake config' to see complete project settings.
app.name = 'er'
app.xcode_dir = '/Applications/Xcode5-DP4.app/Contents/Developer'
end
If I add the following two lines into my Rakefile, then it seems to work:
app.deployment_target = '7.0'
app.sdk_version = '7.0'
Hmm. Makes no sense to me. But adding these 2 lines is a good idea in general.
Okay, I am not too worried about this at this point (now that it is working). Closing for now...
After installing the gem I am now getting this error. It looks like it is looking for the SDK 6.1, but I am using 7.0