lib/ProMotion-mapbox.rb in ProMotion-mapbox-0.1.3 vs lib/ProMotion-mapbox.rb in ProMotion-mapbox-0.2.0
- old
+ new
@@ -1,20 +1,16 @@
# encoding: utf-8
unless defined?(Motion::Project::Config)
raise "ProMotion-mapbox must be required within a RubyMotion project."
end
-require 'motion-cocoapods'
-
Motion::Project::App.setup do |app|
lib_dir_path = File.dirname(File.expand_path(__FILE__))
app.files << File.join(lib_dir_path, "ProMotion/map/map_screen_annotation.rb")
app.files << File.join(lib_dir_path, "ProMotion/map/map_screen_module.rb")
app.files << File.join(lib_dir_path, "ProMotion/map/map_screen.rb")
- app.frameworks += %w(CoreLocation)
-
+ app.frameworks += %w(CoreLocation QuartzCore)
app.pods do
- pod "Mapbox-iOS-SDK"
+ pod 'Mapbox-iOS-SDK'
end
-
end