|
| 1 | +Pod::Spec.new do |s| |
| 2 | + |
| 3 | + # ――― Spec Metadata ―――――――――――――――――――――――――――――――――――――――――――――――――――――――――― # |
| 4 | + s.name = "ExCodable" |
| 5 | + s.version = "0.1.0" |
| 6 | + s.summary = "Extensions for Swift Codable" |
| 7 | + # s.description = "Extensions for Swift." |
| 8 | + s.homepage = "https://github.com/iwill/ExCodable" |
| 9 | + |
| 10 | + # ――― Spec License ――――――――――――――――――――――――――――――――――――――――――――――――――――――――――― # |
| 11 | + s.license = "MIT" |
| 12 | + s.author = { "Mr. Ming" => "i+ExCodable@iwill.im" } |
| 13 | + s.social_media_url = "https://iwill.im/about/" |
| 14 | + |
| 15 | + # ――― Platform Specifics ――――――――――――――――――――――――――――――――――――――――――――――――――――――― # |
| 16 | + s.ios.deployment_target = "10.0" |
| 17 | + s.osx.deployment_target = "11.0" |
| 18 | + # s.tvos.deployment_target = "10.0" |
| 19 | + # s.watchos.deployment_target = "2.0" |
| 20 | + s.swift_version = "5.0" |
| 21 | + |
| 22 | + # ――― Source Location ―――――――――――――――――――――――――――――――――――――――――――――――――――――――――― # |
| 23 | + s.source = { :git => "https://github.com/iwill/ExCodable.git", :tag => s.version.to_s } |
| 24 | + |
| 25 | + # ――― Source Code ―――――――――――――――――――――――――――――――――――――――――――――――――――――――――――――― # |
| 26 | + s.source_files = "Sources", "Sources/**/*.{swift}" |
| 27 | + # s.exclude_files = "Sources/Exclude" |
| 28 | + # s.public_header_files = "Sources/**/*.h" |
| 29 | + |
| 30 | + # ――― Resources ―――――――――――――――――――――――――――――――――――――――――――――――――――――――――――――――― # |
| 31 | + # s.resource = "icon.png" |
| 32 | + # s.resources = "Resources/*.png" |
| 33 | + # s.preserve_paths = "FilesToSave", "MoreFilesToSave" |
| 34 | + |
| 35 | + # ――― Project Linking ―――――――――――――――――――――――――――――――――――――――――――――――――――――――――― # |
| 36 | + s.framework = "Foundation" |
| 37 | + # s.frameworks = "Foundation", "UIKit", "WebKit", "CoreGraphics" |
| 38 | + # s.library = "iconv" |
| 39 | + # s.libraries = "iconv", "xml2" |
| 40 | + |
| 41 | + # ――― Project Settings ――――――――――――――――――――――――――――――――――――――――――――――――――――――――― # |
| 42 | + # s.xcconfig = { "HEADER_SEARCH_PATHS" => "$(SDKROOT)/usr/include/libxml2" } |
| 43 | + # s.dependency "JSONKit", "~> 1.4" |
| 44 | + |
| 45 | +end |
0 commit comments