15e1778ffSTomasz SapetaPod::Spec.new do |s| 25e1778ffSTomasz Sapeta s.name = "Nimble" 3*13c49df8STomasz Sapeta s.version = "9.2.1" 45e1778ffSTomasz Sapeta s.summary = "A Matcher Framework for Swift and Objective-C" 55e1778ffSTomasz Sapeta s.description = <<-DESC 65e1778ffSTomasz Sapeta Use Nimble to express the expected outcomes of Swift or Objective-C expressions. Inspired by Cedar. 75e1778ffSTomasz Sapeta DESC 85e1778ffSTomasz Sapeta s.homepage = "https://github.com/Quick/Nimble" 95e1778ffSTomasz Sapeta s.license = { :type => "Apache 2.0", :file => "LICENSE" } 105e1778ffSTomasz Sapeta s.author = "Quick Contributors" 115e1778ffSTomasz Sapeta s.ios.deployment_target = "9.0" 125e1778ffSTomasz Sapeta s.osx.deployment_target = "10.10" 135e1778ffSTomasz Sapeta s.tvos.deployment_target = "9.0" 145e1778ffSTomasz Sapeta s.source = { :git => "https://github.com/Quick/Nimble.git", 155e1778ffSTomasz Sapeta :tag => "v#{s.version}" } 165e1778ffSTomasz Sapeta 175e1778ffSTomasz Sapeta s.source_files = [ 185e1778ffSTomasz Sapeta "Sources/**/*.{swift,h,m,c}", 195e1778ffSTomasz Sapeta "Carthage/Checkouts/CwlCatchException/Sources/**/*.{swift,h,m,c}", 205e1778ffSTomasz Sapeta "Carthage/Checkouts/CwlPreconditionTesting/Sources/**/*.{swift,h,m,c}", 215e1778ffSTomasz Sapeta ] 225e1778ffSTomasz Sapeta 235e1778ffSTomasz Sapeta s.osx.exclude_files = [ 245e1778ffSTomasz Sapeta "Carthage/Checkouts/CwlPreconditionTesting/Sources/CwlPosixPreconditionTesting/CwlCatchBadInstructionPosix.swift", 255e1778ffSTomasz Sapeta ] 265e1778ffSTomasz Sapeta s.ios.exclude_files = [ 275e1778ffSTomasz Sapeta "Carthage/Checkouts/CwlPreconditionTesting/Sources/CwlPosixPreconditionTesting/CwlCatchBadInstructionPosix.swift", 285e1778ffSTomasz Sapeta ] 295e1778ffSTomasz Sapeta s.tvos.exclude_files = [ 305e1778ffSTomasz Sapeta "Carthage/Checkouts/CwlPreconditionTesting/Sources/CwlMachBadInstructionHandler/include/CwlMachBadInstructionHandler.h", 315e1778ffSTomasz Sapeta "Carthage/Checkouts/CwlPreconditionTesting/Sources/CwlPreconditionTesting/CwlCatchBadInstruction.swift", 325e1778ffSTomasz Sapeta "Carthage/Checkouts/CwlPreconditionTesting/Sources/CwlPreconditionTesting/CwlBadInstructionException.swift", 335e1778ffSTomasz Sapeta "Carthage/Checkouts/CwlPreconditionTesting/Sources/CwlPreconditionTesting/CwlDarwinDefinitions.swift", 345e1778ffSTomasz Sapeta "Carthage/Checkouts/CwlCatchException/Sources/CwlCatchException/CwlCatchException.swift", 355e1778ffSTomasz Sapeta "Carthage/Checkouts/CwlCatchException/Sources/CwlCatchExceptionSupport/CwlCatchException.m", 365e1778ffSTomasz Sapeta "Carthage/Checkouts/CwlCatchException/Sources/CwlCatchExceptionSupport/include/CwlCatchException.h", 375e1778ffSTomasz Sapeta ] 385e1778ffSTomasz Sapeta 395e1778ffSTomasz Sapeta s.exclude_files = "Sources/Nimble/Adapters/NonObjectiveC/*.swift" 405e1778ffSTomasz Sapeta s.header_dir = "Nimble" 415e1778ffSTomasz Sapeta s.weak_framework = "XCTest" 425e1778ffSTomasz Sapeta s.requires_arc = true 435e1778ffSTomasz Sapeta s.compiler_flags = '-DPRODUCT_NAME=Nimble/Nimble' 445e1778ffSTomasz Sapeta s.pod_target_xcconfig = { 455e1778ffSTomasz Sapeta 'APPLICATION_EXTENSION_API_ONLY' => 'YES', 465e1778ffSTomasz Sapeta 'DEFINES_MODULE' => 'YES', 475e1778ffSTomasz Sapeta 'ENABLE_BITCODE' => 'NO', 485e1778ffSTomasz Sapeta 'ENABLE_TESTING_SEARCH_PATHS' => 'YES', 495e1778ffSTomasz Sapeta 'OTHER_LDFLAGS' => '$(inherited) -weak-lXCTestSwiftSupport -Xlinker -no_application_extension', 505e1778ffSTomasz Sapeta 'OTHER_SWIFT_FLAGS' => '$(inherited) -suppress-warnings', 515e1778ffSTomasz Sapeta } 525e1778ffSTomasz Sapeta 535e1778ffSTomasz Sapeta s.cocoapods_version = '>= 1.4.0' 545e1778ffSTomasz Sapeta if s.respond_to?(:swift_versions) then 555e1778ffSTomasz Sapeta s.swift_versions = ['5.0'] 565e1778ffSTomasz Sapeta else 575e1778ffSTomasz Sapeta s.swift_version = '5.0' 585e1778ffSTomasz Sapeta end 595e1778ffSTomasz Sapetaend 60