Skip to content

Commit

Permalink
Subspecs need to be valid on their own :/ (#128)
Browse files Browse the repository at this point in the history
  • Loading branch information
garrettmoon authored Oct 20, 2016
1 parent 175eb1f commit b2338b3
Showing 1 changed file with 5 additions and 2 deletions.
7 changes: 5 additions & 2 deletions PINCache.podspec
Original file line number Diff line number Diff line change
@@ -1,7 +1,6 @@
Pod::Spec.new do |s|
s.name = 'PINCache'
s.version = '3.0.1-beta.2'
s.source_files = 'PINCache/*.{h,m}'
s.homepage = 'https://github.com/pinterest/PINCache'
s.summary = 'Fast, thread safe, parallel object cache for iOS and OS X.'
s.authors = { 'Garrett Moon' => 'garrett@pinterest.com', 'Justin Ouellette' => 'jstn@tumblr.com' }
Expand All @@ -21,7 +20,11 @@ Pod::Spec.new do |s|
#endif
EOS
s.prefix_header_contents = pch_PIN
s.subspec 'arc-exception-safe' do |sp|
s.subspec 'Core' do |sp|
sp.source_files = 'PINCache/*.{h,m}'
end
s.subspec 'Arc-exception-safe' do |sp|
sp.dependency 'PINCache/Core'
sp.source_files = 'PINCache/PINDiskCache.m'
sp.compiler_flags = '-fobjc-arc-exceptions'
end
Expand Down

0 comments on commit b2338b3

Please sign in to comment.