EWENSClass.podspec 2.9 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475
  1. #
  2. # Be sure to run `pod lib lint EWENSClass.podspec' to ensure this is a
  3. # valid spec before submitting.
  4. #
  5. # Any lines starting with a # are optional, but their use is encouraged
  6. # To learn more about a Podspec see http://guides.cocoapods.org/syntax/podspec.html
  7. #
  8. Pod::Spec.new do |s|
  9. s.name = 'EWENSClass'
  10. s.version = '0.1.3'
  11. s.summary = '自己封装的一些 Foundation 框架的轮子.'
  12. # This description is used to generate tags and improve search results.
  13. # * Think: What does it do? Why did you write it? What is the focus?
  14. # * Try to keep it short, snappy and to the point.
  15. # * Write the description between the DESC delimiters below.
  16. # * Finally, don't worry about the indent, CocoaPods strips it!
  17. s.description = <<-DESC
  18. TODO: Add long description of the pod here.
  19. DESC
  20. s.homepage = 'http://gogs.yxbing.com:8443/PrivateCocoapods/EWENSClass'
  21. # s.screenshots = 'www.example.com/screenshots_1', 'www.example.com/screenshots_2'
  22. s.license = { :type => 'MIT', :file => 'LICENSE' }
  23. s.author = { '薛少杰' => 'xueshaojie@ewell.cc' }
  24. s.source = { :git => 'http://gogs.yxbing.com:8443/PrivateCocoapods/EWENSClass.git', :tag => s.version.to_s }
  25. # s.social_media_url = 'https://twitter.com/<TWITTER_USERNAME>'
  26. s.ios.deployment_target = '8.0'
  27. #s.source_files = 'EWENSClass/Classes/**/*'
  28. s.subspec 'Dictionary' do |dictionary|
  29. dictionary.source_files = 'EWENSClass/Classes/OrderDictionary/**/*'
  30. dictionary.public_header_files = 'EWENSClass/Classes/OrderDictionary/**/*.h'
  31. end
  32. s.subspec 'JSONKit' do |jsonKit|
  33. jsonKit.requires_arc = false
  34. jsonKit.source_files = 'EWENSClass/Classes/JSONKit/**/*'
  35. jsonKit.dependency 'EWENSClass/Dictionary'
  36. jsonKit.public_header_files = 'EWENSClass/Classes/JSONKit/**/*.h'
  37. end
  38. s.subspec 'Category' do |category|
  39. category.source_files = 'EWENSClass/Classes/Category/**/*'
  40. category.dependency 'EWENSClass/JSONKit'
  41. category.public_header_files = 'EWENSClass/Classes/Category/**/*.h'
  42. end
  43. s.subspec 'CGContextObject' do |cgContextObject|
  44. cgContextObject.source_files = 'EWENSClass/Classes/CGContextObject/**/*'
  45. cgContextObject.public_header_files = 'EWENSClass/Classes/CGContextObject/**/*.h'
  46. end
  47. s.subspec 'Header' do |header|
  48. header.source_files = 'EWENSClass/Classes/Header/**/*'
  49. header.public_header_files = 'EWENSClass/Classes/Header/**/*.h'
  50. end
  51. s.subspec 'SystemService' do |systemService|
  52. systemService.source_files = 'EWENSClass/Classes/SystemService/**/*'
  53. systemService.public_header_files = 'EWENSClass/Classes/SystemService/**/*.h'
  54. end
  55. # s.resource_bundles = {
  56. # 'EWENSClass' => ['EWENSClass/Assets/*.png']
  57. # }
  58. # s.public_header_files = 'Pod/Classes/**/*.h'
  59. s.frameworks = 'UIKit','Foundation','CoreGraphics'
  60. # s.dependency 'AFNetworking', '~> 2.3'
  61. end