1*5e1778ffSTomasz SapetaPod::Spec.new do |s| 2*5e1778ffSTomasz Sapeta s.name = "Nimble" 3*5e1778ffSTomasz Sapeta s.version = "9.2.0" 4*5e1778ffSTomasz Sapeta s.summary = "A Matcher Framework for Swift and Objective-C" 5*5e1778ffSTomasz Sapeta s.description = <<-DESC 6*5e1778ffSTomasz Sapeta Use Nimble to express the expected outcomes of Swift or Objective-C expressions. Inspired by Cedar. 7*5e1778ffSTomasz Sapeta DESC 8*5e1778ffSTomasz Sapeta s.homepage = "https://github.com/Quick/Nimble" 9*5e1778ffSTomasz Sapeta s.license = { :type => "Apache 2.0", :file => "LICENSE" } 10*5e1778ffSTomasz Sapeta s.author = "Quick Contributors" 11*5e1778ffSTomasz Sapeta s.ios.deployment_target = "9.0" 12*5e1778ffSTomasz Sapeta s.osx.deployment_target = "10.10" 13*5e1778ffSTomasz Sapeta s.tvos.deployment_target = "9.0" 14*5e1778ffSTomasz Sapeta s.source = { :git => "https://github.com/Quick/Nimble.git", 15*5e1778ffSTomasz Sapeta :tag => "v#{s.version}" } 16*5e1778ffSTomasz Sapeta 17*5e1778ffSTomasz Sapeta s.source_files = [ 18*5e1778ffSTomasz Sapeta "Sources/**/*.{swift,h,m,c}", 19*5e1778ffSTomasz Sapeta "Carthage/Checkouts/CwlCatchException/Sources/**/*.{swift,h,m,c}", 20*5e1778ffSTomasz Sapeta "Carthage/Checkouts/CwlPreconditionTesting/Sources/**/*.{swift,h,m,c}", 21*5e1778ffSTomasz Sapeta ] 22*5e1778ffSTomasz Sapeta 23*5e1778ffSTomasz Sapeta s.osx.exclude_files = [ 24*5e1778ffSTomasz Sapeta "Carthage/Checkouts/CwlPreconditionTesting/Sources/CwlPosixPreconditionTesting/CwlCatchBadInstructionPosix.swift", 25*5e1778ffSTomasz Sapeta ] 26*5e1778ffSTomasz Sapeta s.ios.exclude_files = [ 27*5e1778ffSTomasz Sapeta "Carthage/Checkouts/CwlPreconditionTesting/Sources/CwlPosixPreconditionTesting/CwlCatchBadInstructionPosix.swift", 28*5e1778ffSTomasz Sapeta ] 29*5e1778ffSTomasz Sapeta s.tvos.exclude_files = [ 30*5e1778ffSTomasz Sapeta "Carthage/Checkouts/CwlPreconditionTesting/Sources/CwlMachBadInstructionHandler/include/CwlMachBadInstructionHandler.h", 31*5e1778ffSTomasz Sapeta "Carthage/Checkouts/CwlPreconditionTesting/Sources/CwlPreconditionTesting/CwlCatchBadInstruction.swift", 32*5e1778ffSTomasz Sapeta "Carthage/Checkouts/CwlPreconditionTesting/Sources/CwlPreconditionTesting/CwlBadInstructionException.swift", 33*5e1778ffSTomasz Sapeta "Carthage/Checkouts/CwlPreconditionTesting/Sources/CwlPreconditionTesting/CwlDarwinDefinitions.swift", 34*5e1778ffSTomasz Sapeta "Carthage/Checkouts/CwlCatchException/Sources/CwlCatchException/CwlCatchException.swift", 35*5e1778ffSTomasz Sapeta "Carthage/Checkouts/CwlCatchException/Sources/CwlCatchExceptionSupport/CwlCatchException.m", 36*5e1778ffSTomasz Sapeta "Carthage/Checkouts/CwlCatchException/Sources/CwlCatchExceptionSupport/include/CwlCatchException.h", 37*5e1778ffSTomasz Sapeta ] 38*5e1778ffSTomasz Sapeta 39*5e1778ffSTomasz Sapeta s.exclude_files = "Sources/Nimble/Adapters/NonObjectiveC/*.swift" 40*5e1778ffSTomasz Sapeta s.header_dir = "Nimble" 41*5e1778ffSTomasz Sapeta s.weak_framework = "XCTest" 42*5e1778ffSTomasz Sapeta s.requires_arc = true 43*5e1778ffSTomasz Sapeta s.compiler_flags = '-DPRODUCT_NAME=Nimble/Nimble' 44*5e1778ffSTomasz Sapeta s.pod_target_xcconfig = { 45*5e1778ffSTomasz Sapeta 'APPLICATION_EXTENSION_API_ONLY' => 'YES', 46*5e1778ffSTomasz Sapeta 'DEFINES_MODULE' => 'YES', 47*5e1778ffSTomasz Sapeta 'ENABLE_BITCODE' => 'NO', 48*5e1778ffSTomasz Sapeta 'ENABLE_TESTING_SEARCH_PATHS' => 'YES', 49*5e1778ffSTomasz Sapeta 'OTHER_LDFLAGS' => '$(inherited) -weak-lXCTestSwiftSupport -Xlinker -no_application_extension', 50*5e1778ffSTomasz Sapeta 'OTHER_SWIFT_FLAGS' => '$(inherited) -suppress-warnings', 51*5e1778ffSTomasz Sapeta } 52*5e1778ffSTomasz Sapeta 53*5e1778ffSTomasz Sapeta s.cocoapods_version = '>= 1.4.0' 54*5e1778ffSTomasz Sapeta if s.respond_to?(:swift_versions) then 55*5e1778ffSTomasz Sapeta s.swift_versions = ['5.0'] 56*5e1778ffSTomasz Sapeta else 57*5e1778ffSTomasz Sapeta s.swift_version = '5.0' 58*5e1778ffSTomasz Sapeta end 59*5e1778ffSTomasz Sapetaend 60