Project

podspec

0.0
No commit activity in last 3 years
No release in over 3 years
Effortlessly create a CocoaPods Podspec.
2005
2006
2007
2008
2009
2010
2011
2012
2013
2014
2015
2016
2017
2018
2019
2020
2021
2022
2023
2024
 Dependencies

Development

>= 0

Runtime

~> 0.1.0.pre
 Project Readme

Podspec

Effortlessly create a CocoaPods Podspec.

Gem Version Build Status

Installation

$ gem install podspec

Usage

$ podspec postmates/PMJSON
Generating Podspec for postmates/PMJSON...
Wrote PMJSON.podspec in 3s ✨

Sample Output

PMJSON.podspec

Pod::Spec.new do |s|
  s.name         = "PMJSON"
  s.version      = "0.9"
  s.summary      = "Pure Swift JSON encoding/decoding library"
  s.description  = "PMJSON provides a pure-Swift strongly-typed JSON encoder/decoder as well as a set of convenience methods for converting to/from Foundation objects and for decoding JSON structures."

  s.homepage     = "https://github.com/postmates/PMJSON"

  s.license      = "Apache License 2.0"

  s.author       = "Postmates Inc."

  s.source       = { :git => "https://github.com/postmates/PMJSON.git", :tag => "v0.9" }

  s.source_files = "Sources/*.{h,m,swift}"

  s.ios.deployment_target = "8.0"
  # s.osx.deployment_target = "10.9"
  # s.watchos.deployment_target = "2.0"
  # s.tvos.deployment_target = "9.0"
end

The Podspec created should get you started, make sure to consult the Podspec syntax reference.

Validate the Podspec

$ pod spec lint PMJSON.podspec

-> PMJSON (0.9)

Analyzed 1 podspec.

PMJSON.podspec passed validation.

Examples

Contact

License

This project is available under the MIT license. See the LICENSE file for more info.