Skip to content

Commit fc6d9c0

Browse files
committed
Fix arc podspec
The podspec appears to have been copied from SMWebRequest, but was never completely modified to match with xmldocument. - Fixed the source link - Dynamically set tag to version name - Fix incorrect source_files - Requires arc
1 parent 8f5dc4e commit fc6d9c0

File tree

1 file changed

+5
-5
lines changed

1 file changed

+5
-5
lines changed

SMXMLDocument.podspec

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
Pod::Spec.new do |s|
22
s.name = "SMXMLDocument"
3-
s.version = "1.0"
3+
s.version = "1.0.1"
44
s.summary = "A lightweight XML Document class for iOS."
55
s.description = <<-DESC
66
SMXMLDocument is a very handy lightweight XML parser for iOS.
@@ -10,8 +10,8 @@ Pod::Spec.new do |s|
1010
s.homepage = "https://github.com/nfarina/xmldocument"
1111
s.license = 'MIT License'
1212
s.author = { "Nick Farina" => "[email protected]" }
13-
s.source = { :git => "https://github.com/nfarina/%3Cspan%20class="x x-first x-last">webrequest.git", :tag => "1.0" }
13+
s.source = { :git => "https://github.com/nfarina/%3Cspan%20class="x x-first x-last">xmldocument.git", :tag => s.version.to_s }
1414
s.platform = :ios
15-
s.source_files = 'SMWebRequest.{h,m}'
16-
s.requires_arc = false
17-
end
15+
s.source_files = 'SMXMLDocument.{h,m}'
16+
s.requires_arc = true
17+
end

0 commit comments

Comments
 (0)