Permalink
Browse files

Merge branch 'dependency-targets'

  • Loading branch information...
2 parents 39e348b + 2c3b7dc commit 2d4a5315b6b015bf31edd2fc0eec4ba630101204 @alloy alloy committed Nov 13, 2011
Showing with 4 additions and 4 deletions.
  1. +2 −2 SSToolkit/0.1.1/SSToolkit.podspec
  2. +2 −2 SSToolkit/0.1.2/SSToolkit.podspec
@@ -15,8 +15,8 @@ Pod::Spec.new do |s|
s.source_files = 'SSToolkit/**/*.{h,m}'
s.frameworks = 'QuartzCore', 'CoreGraphics'
- def s.post_install
- prefix_header = config.project_pods_root + 'Pods-Prefix.pch'
+ def s.post_install(target)
+ prefix_header = config.project_pods_root + target.prefix_header_filename
prefix_header.open('a') do |file|
file.puts(%{#ifdef __OBJC__\n#import "SSToolkitDefines.h"\n#endif})
end
@@ -15,8 +15,8 @@ Pod::Spec.new do |s|
s.source_files = 'SSToolkit/**/*.{h,m}'
s.frameworks = 'QuartzCore', 'CoreGraphics'
- def s.post_install
- prefix_header = config.project_pods_root + 'Pods-Prefix.pch'
+ def s.post_install(target)
+ prefix_header = config.project_pods_root + target.prefix_header_filename
prefix_header.open('a') do |file|
file.puts(%{#ifdef __OBJC__\n#import "SSToolkitDefines.h"\n#endif})
end

0 comments on commit 2d4a531

Please sign in to comment.