Skip to content

Instantly share code, notes, and snippets.

@scott-lydon
Created June 4, 2018 18:19
Show Gist options
  • Save scott-lydon/9afe22752760943b94cf479ef15cef15 to your computer and use it in GitHub Desktop.
Save scott-lydon/9afe22752760943b94cf479ef15cef15 to your computer and use it in GitHub Desktop.
Pod::Spec.new do |s|
s.name = "NameOfYourProject"
s.version = "0.1.0"
s.summary = "Description of your project"
s.description = "Mandatorily longer description of your project"
s.homepage = "https://github.com/YourUserName/NameOfYourProject"
s.license = "Description of your licence, name or otherwise"
s.author = { "Your name occupation" => "[email protected]" }
s.platform = :ios, "9.0"
s.source = { :git => "https://github.com/YourUserName/YourProjectName.git", :tag => "#{s.version}" }
s.source_files = "YourProjectName/Classes/**/*.swift" # path to your classes. You can drag them into their own folder.
s.requires_arc = true
s.swift_version= '4.0'
s.xcconfig = { 'SWIFT_VERSION' => '4.0' }
s.dependency "APodYourPodDependsOn"
end
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment