Skip to content

Commit

Permalink
Merge branch 'dependency-targets'
Browse files Browse the repository at this point in the history
  • Loading branch information
alloy committed Nov 13, 2011
2 parents 39e348b + 2c3b7dc commit 2d4a531
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 4 deletions.
4 changes: 2 additions & 2 deletions SSToolkit/0.1.1/SSToolkit.podspec
Expand Up @@ -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
Expand Down
4 changes: 2 additions & 2 deletions SSToolkit/0.1.2/SSToolkit.podspec
Expand Up @@ -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
Expand Down

0 comments on commit 2d4a531

Please sign in to comment.