Skip to content
This repository

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Fetching contributors…

Cannot retrieve contributors at this time

file 44 lines (39 sloc) 1.71 kb
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44
Pod::Spec.new do |s|
  s.name = 'Kiwi'
  s.version = '2.2.4'
  s.summary = 'A Behavior Driven Development library for iOS and OS X.'
  s.homepage = 'https://github.com/allending/Kiwi'
  s.authors = { 'Allen Ding' => 'alding@gmail.com', 'Luke Redpath' => 'luke@lukeredpath.co.uk', 'Marin Usalj' => 'mneorr@gmail.com', 'Stepan Hruda' => 'stepan.hruda@gmail.com' }
  s.license = { :type => 'MIT', :file => 'License.txt' }
  s.source = { :git => 'https://github.com/allending/Kiwi.git', :tag => s.version.to_s }
  s.ios.xcconfig = { 'FRAMEWORK_SEARCH_PATHS' => '$(inherited) "$(SDKROOT)/Developer/Library/Frameworks" "$(DEVELOPER_LIBRARY_DIR)/Frameworks"' }
  s.osx.xcconfig = { 'FRAMEWORK_SEARCH_PATHS' => '$(inherited) "$(DEVELOPER_LIBRARY_DIR)/Frameworks"' }
  s.ios.deployment_target = '5.0'
  s.osx.deployment_target = '10.7'
  s.default_subspec = 'SenTestingKit'

  s.subspec 'SenTestingKit' do |sentest|
      sentest.framework = 'SenTestingKit'
      sentest.dependency 'Kiwi/ARC'
      sentest.dependency 'Kiwi/NonARC'
      sentest.source_files = 'SenTestingKit/**/*.{h,m}'
      sentest.prefix_header_contents = <<-EOS
#import <SenTestingKit/SenTestingKit.h>
EOS
  end

  s.subspec 'XCTest' do |xctest|
      xctest.framework = 'XCTest'
      xctest.dependency 'Kiwi/ARC'
      xctest.dependency 'Kiwi/NonARC'
      xctest.prefix_header_contents = <<-EOS
#import <XCTest/XCTest.h>
EOS
  end

  s.subspec 'ARC' do |arc|
      arc.source_files = 'Classes/**/*.{h,m}'
      arc.requires_arc = true
  end

  s.subspec 'NonARC' do |nonarc|
      nonarc.source_files = 'NonARC/**/*.{h,m}'
nonarc.compiler_flags = '-fno-objc-arc'
  end

end
Something went wrong with that request. Please try again.