Masonry.podspec 1.4 KB

1234567891011121314151617181920212223242526272829303132333435363738
  1. Pod::Spec.new do |s|
  2. s.name = 'Masonry'
  3. s.version = '1.1.0'
  4. s.license = 'MIT'
  5. s.summary = 'Harness the power of Auto Layout NSLayoutConstraints with a simplified, chainable and expressive syntax.'
  6. s.homepage = 'https://git.forgetive.net/XCAppCollection/Masonry'
  7. s.author = { 'Jonas Budelmann' => 'jonas.budelmann@gmail.com' }
  8. s.social_media_url = "http://twitter.com/cloudkite"
  9. s.source = { :git => 'https://git.forgetive.net/XCAppCollection/Masonry.git', :tag => "v#{s.version}" }
  10. s.description = %{
  11. Masonry is a light-weight layout framework which wraps AutoLayout with a nicer syntax.
  12. Masonry has its own layout DSL which provides a chainable way of describing your
  13. NSLayoutConstraints which results in layout code which is more concise and readable.
  14. Masonry supports iOS and Mac OSX.
  15. }
  16. pch_AF = <<-EOS
  17. #ifndef TARGET_OS_IOS
  18. #define TARGET_OS_IOS TARGET_OS_IPHONE
  19. #endif
  20. #ifndef TARGET_OS_TV
  21. #define TARGET_OS_TV 0
  22. #endif
  23. EOS
  24. s.source_files = 'Masonry/*.{h,m}'
  25. s.ios.frameworks = 'Foundation', 'UIKit'
  26. s.tvos.frameworks = 'Foundation', 'UIKit'
  27. s.osx.frameworks = 'Foundation', 'AppKit'
  28. s.ios.deployment_target = '6.0' # minimum SDK with autolayout
  29. s.osx.deployment_target = '10.7' # minimum SDK with autolayout
  30. s.tvos.deployment_target = '9.0' # minimum SDK with autolayout
  31. s.requires_arc = true
  32. end