Skip to content

Commit

Permalink
Update SSToolkit 1.2 spec for multiple targets.
Browse files Browse the repository at this point in the history
  • Loading branch information
alloy committed Nov 4, 2011
1 parent 519e346 commit 2c3b7dc
Showing 1 changed file with 2 additions and 2 deletions.
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 2c3b7dc

Please sign in to comment.