Skip to content

Commit

Permalink
Fix deprecated podspec (use prefix_header_contents.)
Browse files Browse the repository at this point in the history
  • Loading branch information
jcoleman committed Jul 16, 2013
1 parent d3ec799 commit 2636a5a
Showing 1 changed file with 2 additions and 6 deletions.
8 changes: 2 additions & 6 deletions GHSidebarNav.podspec
Expand Up @@ -18,10 +18,6 @@ Pod::Spec.new do |s|

s.resources = "GHSidebarNav/Images/*.png"
s.requires_arc = true
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 "NSObject+Subscripts.h"\n#endif})
end
end

s.prefix_header_contents = %{#ifdef __OBJC__\n#import "NSObject+Subscripts.h"\n#endif}
end

0 comments on commit 2636a5a

Please sign in to comment.