https://github.com/dfreniche/kiwitest
I've run into troubles using Kiwi with Xcode 5. I launched the tests, got no errors, but no tests were running (0 tests running)
https://github.com/dfreniche/kiwitest
Last synced: 3 months ago
JSON representation
I've run into troubles using Kiwi with Xcode 5. I launched the tests, got no errors, but no tests were running (0 tests running)
- Host: GitHub
- URL: https://github.com/dfreniche/kiwitest
- Owner: dfreniche
- Created: 2014-12-12T08:49:17.000Z (over 10 years ago)
- Default Branch: master
- Last Pushed: 2014-12-12T08:49:38.000Z (over 10 years ago)
- Last Synced: 2025-02-16T03:46:01.754Z (5 months ago)
- Size: 242 KB
- Stars: 0
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# Using Kiwi 2.3 with Xcode 5 on OS X 10.8.5
I've run into troubles using Kiwi with Xcode 5. I launched the tests, got no errors, but no tests were running (0 tests running)
The problem is described [here](https://github.com/allending/Kiwi/pull/366)
TL;DR; :Xcode 5 uses Xctest unit testing instead of OCUnit (SenTesting kit framework). To get Kiwi working you need to use the "version" of Kiwi that uses Xctest. Instead of having multiple Kiwi versions, the smart guys behind it give us some git subrepositories. You need to select the right Kiwi subrepo. To do that, I'm using Cocoapods with this podfile:
platform :ios, '6.0'
xcodeproj 'KiwiTest/KiwiTest.xcodeproj'
target :KiwiTestTests, :exclusive => true do
pod 'Kiwi/XCTest'
endAs you can see, a regular podfile but the trick is the Kiwi/XCTest part :-D
To use this, you need to [setup Cocoapods](http://cocoapods.org)
---
## My environment
- Xcode 5 build 5A1412
- OS X 10.8.5
- Cocoapods 0.25.0
- Kiwi 2.2.2 (installed by Cocoapods)