Skip to content

Instantly share code, notes, and snippets.

@factoryhr
Last active March 17, 2019 19:16
Show Gist options
  • Save factoryhr/fd0e72a6325aa9eb2e6143de4b3e03ba to your computer and use it in GitHub Desktop.
Save factoryhr/fd0e72a6325aa9eb2e6143de4b3e03ba to your computer and use it in GitHub Desktop.
Pod::Spec.new do |spec|
#1
spec.name = "CustomUISwitch"
spec.version = "0.0.1"
spec.summary = "Customizable switch."
spec.description = <<-DESC
Switch is a pod that contains code for creating customizable UI Switch element.
DESC
spec.homepage = "http://www.factory.hr"
#2
spec.license = { :type => "MIT", :file => "LICENSE.txt" }
#3
# Specify the location from where the source should be retrieved.
#spec.source = { :git => "http://EXAMPLE/Switch.git", :tag => "master" }
#source for local lib development.
spec.source = { :path => "Sources/"}
#4
spec.ios.exclude_files = 'Sources/Pods'
spec.source_files = 'Sources/**/*.swift'
spec.swift_version = '4.2'
#5
spec.framework = "UIKit"
end
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment