Skip to content

Commit 597d3c9

Browse files
committed
Merge pull request #417 from SlaunchaMan/patch-1
Use the compiler_flags setting to fix OCUnit
2 parents 29df715 + b9e8651 commit 597d3c9

1 file changed

Lines changed: 2 additions & 0 deletions

File tree

KIF.podspec

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -17,6 +17,7 @@ Pod::Spec.new do |s|
1717
xctest.exclude_files = 'Additions/SenTestCase-KIFAdditions.{h,m}'
1818
xctest.public_header_files = 'Classes/**/*.h', 'Additions/**/*-KIFAdditions.h'
1919
xctest.framework = 'XCTest'
20+
xctest.compiler_flags = '-DKIF_XCTEST'
2021
xctest.xcconfig = { 'OTHER_CFLAGS' => '-DKIF_XCTEST' }
2122
xctest.requires_arc = true
2223
end
@@ -26,6 +27,7 @@ Pod::Spec.new do |s|
2627
sentest.exclude_files = 'Additions/XCTestCase-KIFAdditions.{h,m}'
2728
sentest.public_header_files = 'Classes/**/*.h', 'Additions/**/*-KIFAdditions.h'
2829
sentest.framework = 'SenTestingKit'
30+
sentest.compiler_flags = '-DKIF_SENTEST'
2931
sentest.xcconfig = { 'OTHER_CFLAGS' => '-DKIF_SENTEST' }
3032
sentest.requires_arc = true
3133
end

0 commit comments

Comments
 (0)