Unit tests hanging Xcode on Snow Leopard
Unit tests hanging Xcode on Snow Leopard
- Subject: Unit tests hanging Xcode on Snow Leopard
- From: Matt Ronge <email@hidden>
- Date: Wed, 2 Sep 2009 20:12:16 -0500
Hello,
I'm having a problem with Xcode on Snow Leopard where running unit
tests completely hangs Xcode. I had an older project which I wanted to
test, so I selected my Tests target and ran it, which caused Xcode to
hang and I had to force quit it. Checking the console revealed:
9/2/09 7:53:11 PM Xcode[3932] -[XCBuildLogCommandInvocationSection
testName]: unrecognized selector sent to instance 0x200ec19c0
9/2/09 7:53:11 PM Xcode[3932] -runOperationInBackground raised an
exception: -[XCBuildLogCommandInvocationSection testName]:
unrecognized selector sent to instance 0x200ec19c0
I tried cleaning the project, removing some of the tests, recreating
the tests target, none of it worked. I gave the xcodebuild CLI a try,
it also hung and outputted the same error message.
I also tried creating a brand new project, and I've been able to
reproduce it:
1. Create a new Cocoa app
2. Add a new test target
3. Create a new unit test file, put some kind of dumb test in there,
4. Try running a the test bundle
5. Xcode will hang with and this error will be dumped into the console:
9/2/09 8:10:34 PM Xcode[4132] -[XCBuildLogCommandInvocationSection
setTestsPassedString:]: unrecognized selector sent to instance
0x200c6ba60
9/2/09 8:10:34 PM Xcode[4132] -runOperationInBackground raised an
exception: -[XCBuildLogCommandInvocationSection
setTestsPassedString:]: unrecognized selector sent to instance
0x200c6ba60
which is a slightly different error than my other project. Either way
I can't get unit tests to run on Snow Leopard which is a very big
problem for me.
Is this happening for others? Any work arounds? I installed Snow
Leopard on a clean disk, if that makes a difference.
--
Matt Ronge
email@hidden
http://www.mronge.com
_______________________________________________
Do not post admin requests to the list. They will be ignored.
Xcode-users mailing list (email@hidden)
Help/Unsubscribe/Update your Subscription:
This email sent to email@hidden