Looks like no one’s replied in a while. To start the conversation again, simply ask a new question.

Thread 1 Queue:com.apple.main-thread???

Having trouble with the Thread 1 Queue: com.apple.main-tread....

User uploaded file

Posted on Mar 31, 2014 12:45 PM

Reply
Question marked as Best reply

Posted on Mar 31, 2014 6:46 PM

What kind of problem ?

You need to explain what you are trying to do and what is failing.


Your screenshot is showing the default unit test class created when setting up a unit test - you may consider reading about unit testing to understand what's going on.

Session 409 "Testing in Xcode 5" from the WWDC 2013 videos introduces this subject - they can all be found on Apples developer site:

https://developer.apple.com/


The most recent guide about unit testing that I can find is:

https://developer.apple.com/legacy/library/documentation/DeveloperTools/Conceptu al/UnitTesting/00-About_Unit_Testing/about.html#//apple_ref/doc/uid/TP40002143


this is out of date (it applies to Xcode 4) but still relevant, the main difference (from what I understand) is that Xcode 5 starts you out with a test target and that test functions are now named as XCTxxx() instead of STxxx() as the underlying test system has been changed from previous sentest/ocunit/octest to xctest.

1 reply
Question marked as Best reply

Mar 31, 2014 6:46 PM in response to loashetc

What kind of problem ?

You need to explain what you are trying to do and what is failing.


Your screenshot is showing the default unit test class created when setting up a unit test - you may consider reading about unit testing to understand what's going on.

Session 409 "Testing in Xcode 5" from the WWDC 2013 videos introduces this subject - they can all be found on Apples developer site:

https://developer.apple.com/


The most recent guide about unit testing that I can find is:

https://developer.apple.com/legacy/library/documentation/DeveloperTools/Conceptu al/UnitTesting/00-About_Unit_Testing/about.html#//apple_ref/doc/uid/TP40002143


this is out of date (it applies to Xcode 4) but still relevant, the main difference (from what I understand) is that Xcode 5 starts you out with a test target and that test functions are now named as XCTxxx() instead of STxxx() as the underlying test system has been changed from previous sentest/ocunit/octest to xctest.

Thread 1 Queue:com.apple.main-thread???

Welcome to Apple Support Community
A forum where Apple customers help each other with their products. Get started with your Apple ID.