Skip to content

Commit

Permalink
fixed DTCoreText.podspec
Browse files Browse the repository at this point in the history
I believe that there is a bug in pod spec lint:
This spec has a deployment target of 4.3 and only has dependencies to 4.3 subspects. Still lint aborts cliaming that DTFoundation is not compatible with 4.3.
  • Loading branch information
odrobnik committed Jan 16, 2013
1 parent 43f2a4e commit 8771007
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions DTCoreText/1.1.0/DTCoreText.podspec
@@ -1,7 +1,7 @@
Pod::Spec.new do |spec| Pod::Spec.new do |spec|
spec.name = 'DTCoreText' spec.name = 'DTCoreText'
spec.version = '1.1.0' spec.version = '1.1.0'
spec.platform = :ios spec.platform = :ios, '4.3'
spec.license = 'BSD' spec.license = 'BSD'
spec.source = { :git => 'https://github.com/Cocoanetics/DTCoreText.git', :tag => spec.version.to_s } spec.source = { :git => 'https://github.com/Cocoanetics/DTCoreText.git', :tag => spec.version.to_s }
spec.source_files = 'Core/Source/*.{h,m,c}' spec.source_files = 'Core/Source/*.{h,m,c}'
Expand All @@ -15,7 +15,7 @@ Pod::Spec.new do |spec|
spec.library = 'xml2' spec.library = 'xml2'
spec.xcconfig = { 'HEADER_SEARCH_PATHS' => '"$(SDKROOT)/usr/include/libxml2"' } spec.xcconfig = { 'HEADER_SEARCH_PATHS' => '"$(SDKROOT)/usr/include/libxml2"' }
spec.prefix_header_contents = '#import <CoreText/CoreText.h>' spec.prefix_header_contents = '#import <CoreText/CoreText.h>'
spec.resources = 'DTCoreTextFontOverrides.plist' spec.resources = 'Demo/Resources/DTCoreTextFontOverrides.plist'
def spec.post_install(target) def spec.post_install(target)
Dir.chdir(config.project_pods_root + 'DTCoreText/Core/Source/') do Dir.chdir(config.project_pods_root + 'DTCoreText/Core/Source/') do
Dir.glob('*.css') do |css_file| Dir.glob('*.css') do |css_file|
Expand Down

0 comments on commit 8771007

Please sign in to comment.