From 269d3eaf2fc326b56d39dab947be84d053a7a2a5 Mon Sep 17 00:00:00 2001 From: Malcolm Jarvis Date: Tue, 13 Feb 2018 09:51:26 -0800 Subject: [PATCH 1/2] Add git ignore --- .gitignore | 1 + 1 file changed, 1 insertion(+) create mode 100644 .gitignore diff --git a/.gitignore b/.gitignore new file mode 100644 index 0000000..4f405cc --- /dev/null +++ b/.gitignore @@ -0,0 +1 @@ +xcuserdata \ No newline at end of file From 8ef7db59feb291a4d8442587c8799f899f3b7657 Mon Sep 17 00:00:00 2001 From: Malcolm Jarvis Date: Tue, 13 Feb 2018 09:51:38 -0800 Subject: [PATCH 2/2] 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) --- XMLParsing.podspec | 18 ++++++++++++++++++ 1 file changed, 18 insertions(+) create mode 100644 XMLParsing.podspec diff --git a/XMLParsing.podspec b/XMLParsing.podspec new file mode 100644 index 0000000..26b07e8 --- /dev/null +++ b/XMLParsing.podspec @@ -0,0 +1,18 @@ +Pod::Spec.new do |s| + s.name = "XMLParsing" + s.version = "0.1" + s.summary = "XMLEncoder & XMLDecoder using the Codable protocol in Swift 4" + s.description = <<-DESC + XMLParsing allows Swift 4 Codable-conforming objects to be translated to and from XML + DESC + s.homepage = "https://github.com/ShawnMoore/XMLParsing" + s.license = { :type => "MIT", :file => "LICENSE" } + s.author = { "Shawn Moore" => "sm5@me.com" } + + s.ios.deployment_target = "10.0" + s.osx.deployment_target = "10.12" + + s.source = { :git => "https://github.com/ShawnMoore/XMLParsing.git", :tag => s.version.to_s } + s.source_files = "XMLParsing/XML/**/*.swift" + s.requires_arc = true +end