Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Browse files

Merge branch 'dependency-targets'

  • Loading branch information...
commit 2d4a5315b6b015bf31edd2fc0eec4ba630101204 2 parents 39e348b + 2c3b7dc
@alloy alloy authored
View
4 SSToolkit/0.1.1/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
View
4 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
Please sign in to comment.
Something went wrong with that request. Please try again.