Post

Replies

Boosts

Views

Activity

A simple Test Failed With Weird Assertion
I am seeing an assertion failure, that I have not seen before. [Runner] *** Assertion failure in -[XCTActivityRecordStack didFinishActivity:testCase:], XCTActivityRecordStack.m:64 I tried to find if any one see this before. The tests are running on CI (in Buddybuild's VM). Using Xcode 12.3 iPhone 12/iOS12.2. Can't able to reproduce locally. Seems like a test runner assertion. I am launching the app using simctl command. Please let me know if there is any solution for this.
1
0
752
Feb ’21
Target Application Logs Not showing while running XCUITest
In our application, we are having custom logging. When the project is compiled locally on the XCode, I can see that those logs are appearing properly on Xcode Console (Debug Area). Also, when compiling the UITest scheme, the application logs are appearing as expected. But when I run a uitest, then only test runner logs are showing up in debug area. When I select My application target then it's not having application logs.Is this something expected? Is there any setting that I have to turn ON with in Xcode?Any help will be really appreciated.Thanks
4
2
2.1k
Oct ’19