Skip to content

Instantly share code, notes, and snippets.

@mgasiorowski
Created December 15, 2015 13:35
Show Gist options
  • Select an option

  • Save mgasiorowski/1d05af9f1283a70a5d26 to your computer and use it in GitHub Desktop.

Select an option

Save mgasiorowski/1d05af9f1283a70a5d26 to your computer and use it in GitHub Desktop.
Pod::Spec.new do |s|
s.name = "Calabash"
s.version = "0.17.0"
s.summary = "Calabash is an automated testing technology for Android and iOS native and hybrid applications."
s.homepage = "https://github.com/calabash/calabash-ios"
s.license = { :type => "Eclipse Public License 1.0", :text => <<-LICENSE
Calabash-ios Copyright (2015) Karl Krukow. All rights reserved.\n
The use and distribution terms for this software are covered by the\n
Eclipse Public License 1.0\n
(http://opensource.org/licenses/eclipse-1.0.php) which can be found in\n
the file epl-v10.html at the root of this distribution. By using this\n
software in any fashion, you are agreeing to be bound by the terms of\n
this license. You must not remove this notice, or any other, from\n
this software.
LICENSE
}
s.author = { "Karl Krukow" => "karl.krukow@gmail.com" }
s.platform = :ios
s.source = { :http => "https://rubygems.org/downloads/calabash-cucumber-0.17.0.gem",
:type => :tgz
}
s.prepare_command = <<-CMD
tar xzf data.tar.gz
unzip staticlib/calabash.framework.zip
CMD
s.preserve_paths = "calabash.framework"
s.source_files = "calabash.framework/Versions/A/Headers/*"
s.xcconfig = {"OTHER_LDFLAGS" => "-force_load \"$(PODS_ROOT)/Calabash/calabash.framework/calabash\" -lstdc++"}
s.framework = "CFNetwork"
s.requires_arc = false
end
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment