OJAKit.podspec 1.8 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950
  1. Pod::Spec.new do |s|
  2. s.name = "OJAKit"
  3. s.version = "0.0.4"
  4. s.summary = "oja 全局可用的基础库"
  5. s.description = <<-DESC
  6. oja 全局可用的基础库,放git上,其他测试工程统一引用
  7. DESC
  8. s.homepage = "http://svn.ouj.com:3000/billthas"
  9. s.license = "MIT"
  10. s.authors = { "Phelthas" => "billthas@gmail.com" }
  11. s.platform = :ios, "7.0"
  12. s.source = { :git => "http://svn.ouj.com:3000/billthas/ojakit.git", :tag => s.version }
  13. # s.library = "iconv"
  14. # s.libraries = "iconv", "xml2"
  15. s.requires_arc = true
  16. # s.xcconfig = { "HEADER_SEARCH_PATHS" => "$(SDKROOT)/usr/include/libxml2" }
  17. # s.dependency "JSONKit", "~> 1.4"
  18. s.default_subspec = 'Core'
  19. s.subspec 'Core' do |core|
  20. core.source_files = 'OJAKitDemo/OJAKit/Category/**/*.{h,m}', 'OJAKitDemo/OJAKit/Tool/**/*.{h,m}', 'OJAKitDemo/OJAKit/OJAKit.h'
  21. core.public_header_files = 'OJAKitDemo/OJAKit/Category/*.{h}', 'OJAKitDemo/OJAKit/Tool/*.{h}', 'OJAKitDemo/OJAKit/OJAKit.h'
  22. core.frameworks = "UIKit", "Foundation"
  23. end
  24. s.subspec 'SafeKit' do |safeKit|
  25. safeKit.source_files = 'OJAKitDemo/OJAKit/GMSafeKit/**/*.{h,m}'
  26. safeKit.public_header_files = 'OJAKitDemo/OJAKit/GMSafeKit/*.{h}'
  27. safeKit.frameworks = "UIKit", "Foundation"
  28. end
  29. # s.subspec 'Pay' do |pay|
  30. # pay.source_files = 'OJAKitDemo/OJAKit/Pay/**/*.{h,m}'
  31. # pay.public_header_files = 'OJAKitDemo/OJAKit/Pay/*.{h}'
  32. # pay.resources = 'OJAKitDemo/OJAKit/Pay/*.{bundle}'
  33. # pay.vendored_frameworks = "OJAKitDemo/OJAKit/Pay/*.{framework}"
  34. # pay.frameworks = "UIKit", "Foundation", "CoreMotion", "CFNetwork", "CoreGraphics", "CoreText", "CoreTelephony", "SystemConfiguration", "QuartzCore"
  35. # pay.libraries = "c++", "z"
  36. # end
  37. end