• Open Menu Close Menu
  • Apple
  • Shopping Bag
  • Apple
  • Mac
  • iPad
  • iPhone
  • Watch
  • TV
  • Music
  • Support
  • Search apple.com
  • Shopping Bag

Lists

Open Menu Close Menu
  • Terms and Conditions
  • Lists hosted on this site
  • Email the Postmaster
  • Tips for posting to public mailing lists
Re: Unit tests hanging Xcode on Snow Leopard
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Unit tests hanging Xcode on Snow Leopard


  • Subject: Re: Unit tests hanging Xcode on Snow Leopard
  • From: Kiran B <email@hidden>
  • Date: Thu, 3 Sep 2009 12:11:54 +0530
  • "x-copyrighted-material: http://www.robosoftin.com"

Hi,

I do get this issue. I had earlier reported this in this forum :

http://lists.apple.com/archives/xcode-users/2009/Aug/msg00495.html

No one responded to my earlier post suggesting that no one is observing this. Am not sure of the exact cause.

I have tried it on 2 different iMacs, 2 different Mac Pros and a Mac book. It hangs in all these Macs. More ever the same project runs perfectly on Xcode 3.1.2 on Snow Leopard.

But if you check this blog of MCubed software : http://www.mcubedsw.com/blog/index.php/site/comments/xcode_3.2_teh_awesome_edition/ , the author confirms that Unit testing works flawlessly.

If you do find a workaround/fix, please do let me know. From the console log it appears that we are facing the same problem.

Regards,
Kiran

On Thu, Sep 03 2009, at 6:42 AM, Matt Ronge wrote:

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


----------------------------------------------- Robosoft Technologies - Come home to Technology

Disclaimer: This email may contain confidential material. If you were not an intended recipient, please notify the sender and delete all copies. Emails to and from our network may be logged and monitored. This email and its attachments are scanned for virus by our scanners and are believed to be safe. However, no warranty is given that this email is free of malicious content or virus.
_______________________________________________
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


References: 
 >Unit tests hanging Xcode on Snow Leopard (From: Matt Ronge <email@hidden>)

  • Prev by Date: Re: clang: no warning when failing to return a value
  • Next by Date: Re: xcodebuild issues Warning "compiler '...' is based on missing compiler '...' "
  • Previous by thread: Unit tests hanging Xcode on Snow Leopard
  • Next by thread: Re: Unit tests hanging Xcode on Snow Leopard
  • Index(es):
    • Date
    • Thread