I'm no longer able to run my Test Bundle since switching to Xcode 6. We use Specta/Expecta/OCMock stack, but have older tests that use Vanilla XCTest. I'm on Cocoapods 0.34.0.rc2
, and XCTest.h
seems to be importing just fine.
Asked
Active
Viewed 762 times
5

marklar
- 502
- 7
- 21
-
I'm experiencing the same issue. It happened after upgrading to 0.34.0.rc2 – mokagio Sep 19 '14 at 03:09
-
Happening in 0.34.0.rc1 for what is worth... – mokagio Sep 19 '14 at 04:44
1 Answers
0
I'm experiencing the same problem. It might actually be unrelated with CocoaPods 0.34.0.rc2
as I too thought at the start, and being a Specta issue.
Commenting the code below, in SpectaSupport.h
, fixes the build issue:
#undef _XCTRegisterFailure
#define _XCTRegisterFailure(condition, format...) \
({ \
_XCTFailureHandler((id)self, YES, __FILE__, __LINE__, condition, @"" format); \
})
More info here

mokagio
- 16,391
- 3
- 51
- 58