11Pod ::Spec . new do |s |
22 s . name = "Nimble"
3- s . version = "5.0.0 "
3+ s . version = "5.1.1 "
44 s . summary = "A Matcher Framework for Swift and Objective-C"
55 s . description = <<-DESC
66 Use Nimble to express the expected outcomes of Swift or Objective-C expressions. Inspired by Cedar.
@@ -11,12 +11,37 @@ Pod::Spec.new do |s|
1111 s . ios . deployment_target = "8.0"
1212 s . osx . deployment_target = "10.10"
1313 s . tvos . deployment_target = "9.0"
14- s . source = { :git => "https://github.com/Quick/Nimble.git" , :tag => "v#{ s . version } " }
14+ s . source = { :git => "https://github.com/Quick/Nimble.git" ,
15+ :tag => "v#{ s . version } " }
16+
17+ s . source_files = "Sources/**/*.{swift,h,m,c}"
18+
19+ s . osx . exclude_files = [
20+ "Sources/Lib/CwlPreconditionTesting/CwlPreconditionTesting/CwlCatchBadInstructionPOSIX.swift" ,
21+ ]
22+ s . ios . exclude_files = [
23+ "Sources/Lib/CwlPreconditionTesting/CwlPreconditionTesting/CwlCatchBadInstructionPOSIX.swift" ,
24+ ]
25+ s . tvos . exclude_files = [
26+ "Sources/Lib/CwlPreconditionTesting/CwlPreconditionTesting/CwlCatchBadInstruction.swift" ,
27+ "Sources/Lib/CwlPreconditionTesting/CwlPreconditionTesting/CwlCatchBadInstruction.m" ,
28+ "Sources/Lib/CwlPreconditionTesting/CwlPreconditionTesting/CwlBadInstructionException.swift" ,
29+ "Sources/Lib/CwlPreconditionTesting/CwlPreconditionTesting/CwlDarwinDefinitions.swift" ,
30+ "Sources/Lib/CwlPreconditionTesting/CwlPreconditionTesting/mach_excServer.{h,c}" ,
31+ "Sources/Lib/CwlPreconditionTesting/CwlCatchException/CwlCatchException.swift" ,
32+ "Sources/Lib/CwlPreconditionTesting/CwlCatchException/CwlCatchException.m" ,
33+ ]
1534
16- s . source_files = "Sources/**/**/*.{swift,h,m}"
1735 s . private_header_files = "Sources/NimbleObjectiveC/CurrentTestCaseTracker.h"
36+ s . tvos . private_header_files = "Sources/Lib/CwlPreconditionTesting/CwlPreconditionTesting/mach_excServer.h"
37+
1838 s . exclude_files = "Sources/Nimble/Adapters/NonObjectiveC/*.swift"
1939 s . weak_framework = "XCTest"
2040 s . requires_arc = true
21- s . pod_target_xcconfig = { 'ENABLE_BITCODE' => 'NO' , 'OTHER_LDFLAGS' => '-weak-lswiftXCTest' , 'FRAMEWORK_SEARCH_PATHS' => '$(inherited) "$(PLATFORM_DIR)/Developer/Library/Frameworks"' }
41+ s . compiler_flags = '-DPRODUCT_NAME=Nimble/Nimble'
42+ s . pod_target_xcconfig = {
43+ 'ENABLE_BITCODE' => 'NO' ,
44+ 'OTHER_LDFLAGS' => '-weak-lswiftXCTest' ,
45+ 'FRAMEWORK_SEARCH_PATHS' => '$(inherited) "$(PLATFORM_DIR)/Developer/Library/Frameworks"' ,
46+ }
2247end
0 commit comments