Skip to content
This repository has been archived by the owner on Feb 2, 2021. It is now read-only.

xctool test hangs under Xcode 5.0.2, xctool 0.1.13, and Specta 0.2.0 #245

Closed
brow opened this issue Nov 13, 2013 · 4 comments
Closed

xctool test hangs under Xcode 5.0.2, xctool 0.1.13, and Specta 0.2.0 #245

brow opened this issue Nov 13, 2013 · 4 comments

Comments

@brow
Copy link

brow commented Nov 13, 2013

Create a fresh Universal iOS app project in Xcode and install Specta 0.2.0 using CocoaPods. Replace the provided XCTest case with a Specta spec. Build and test the project using xctool -workspace … -scheme … -sdk iphonesimulator test.

Expected behavior: xctool builds the app, launches it in simulator, runs tests, prints test report, and terminates the app. (This is the behavior of xcodebuild with the same arguments, incidentally.)

Actual behavior: xctool builds the app, launches it in simulator, then hangs with the app still running and this being the last line of output:

[Info] Launching test host and running tests ...

To reproduce: Clone this example project and run

pod install
xctool -workspace XctoolHangExample.xcworkspace -scheme XctoolHangExample -sdk iphonesimulator test
@brow brow mentioned this issue Nov 13, 2013
@arifken
Copy link

arifken commented Nov 14, 2013

Confirmed for 0.1.12 as well. Does not occur in versions 0.1.11 and earlier

@LegNeato
Copy link
Contributor

Can you try HEAD of master and see if it still repros?

@brow
Copy link
Author

brow commented Nov 14, 2013

HEAD of master does not repro. 🤘

@LegNeato
Copy link
Contributor

Sweet, thanks for confirming!

lazerwalker added a commit to intentkit/IntentKit that referenced this issue Dec 1, 2013
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants