Skip to content

Commit b4d74fc

Browse files
author
Malcolm Jarvis
committed
Add Podspec for Cocoapods
TODO (Before merge): - [ ] Update version in Podspec if necessary - [ ] Verify/Update deployment targets (what about tvOS? watchOS?) TODO (After merge): - [ ] Add a new tag for initial release (Matching Podspec version) - [ ] `pod spec lint` to verify it works - [ ] `pod trunk push` to publish to cocoapods (Will need to `pod trunk register` if you've never published to cocoapods before)
1 parent ebfc6c8 commit b4d74fc

File tree

3 files changed

+32
-0
lines changed

3 files changed

+32
-0
lines changed

XMLParsing.podspec

Lines changed: 18 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,18 @@
1+
Pod::Spec.new do |s|
2+
s.name = "XMLParsing"
3+
s.version = "0.1"
4+
s.summary = "XMLEncoder & XMLDecoder using the Codable protocol in Swift 4"
5+
s.description = <<-DESC
6+
XMLParsing allows Swift 4 Codable-conforming objects to be translated to and from XML
7+
DESC
8+
s.homepage = "https://github.com/ShawnMoore/XMLParsing"
9+
s.license = { :type => "MIT", :file => "LICENSE" }
10+
s.author = { "Shawn Moore" => "sm5@me.com" }
11+
12+
s.ios.deployment_target = "10.0"
13+
s.osx.deployment_target = "10.12"
14+
15+
s.source = { :git => "https://github.com/ShawnMoore/XMLParsing.git", :tag => s.version.to_s }
16+
s.source_files = "XMLParsing/XML/**/*.swift"
17+
s.requires_arc = true
18+
end
Lines changed: 14 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,14 @@
1+
<?xml version="1.0" encoding="UTF-8"?>
2+
<!DOCTYPE plist PUBLIC "-//Apple//DTD PLIST 1.0//EN" "http://www.apple.com/DTDs/PropertyList-1.0.dtd">
3+
<plist version="1.0">
4+
<dict>
5+
<key>SchemeUserState</key>
6+
<dict>
7+
<key>XMLParsing.xcscheme</key>
8+
<dict>
9+
<key>orderHint</key>
10+
<integer>0</integer>
11+
</dict>
12+
</dict>
13+
</dict>
14+
</plist>

0 commit comments

Comments
 (0)