idb icon indicating copy to clipboard operation
idb copied to clipboard

All UI tests failed with: *** -[__NSCFString stringByAppendingPathExtension:]: nil argument (NSInvalidArgumentException)

Open boot85 opened this issue 2 years ago • 0 comments

Description

All tests fail with Failure message: *** -[__NSCFString stringByAppendingPathExtension:]: nil argument (NSInvalidArgumentException)

Reproduction

  1. Have the following sample test:
class OpenAppTest {
    func testSample() {

    }
}
  1. Run it via idb xctest run ui ...

Additional Information

  • idb/idb-companion 1.1.7
  • MacOS Monterey / MacMini M1
  • Xcode 13 (the same for 13.2.1)

from idb-companion log

...
[simulator_set] runTestWithLaunchConfiguration:reporter:logger: succeeded
...

from test run log:

XCTestOutputBarrier<unknown>:0: error: -[UITests.OpenAppTest testSample] : *** -[__NSCFString stringByAppendingPathExtension:]: nil argument (NSInvalidArgumentException)
Test Case '-[UITests.OpenAppTest testSample]' failed (3.666 seconds).

boot85 avatar Mar 29 '22 21:03 boot85