In OCUnit+SHTestCaseAdditions.m use iOS or OS X version to conditionally compile for XCTAssertTrue or STAssertTrue.