AppCode 3.3 EAP - No tests were found
I've discovered an issue with my tests in the current AppCode 3.3 EAP. When running the tests it says that "No tests were found" with the following error message:
Simulator session started with process 30871
AppName[30871:1260132] *** Terminating app due to uncaught exception 'NSInvalidArgumentException', reason: '*** -[NSBundle initWithURL:]: nil URL argument'
*** First throw call stack:
(
0 CoreFoundation 0x000000011209bf65 __exceptionPreprocess + 165
1 libobjc.A.dylib 0x0000000111b13deb objc_exception_throw + 48
2 CoreFoundation 0x000000011209be9d +[NSException raise:format:] + 205
3 Foundation 0x000000010f8e1d7f -[NSBundle initWithURL:] + 87
4 Foundation 0x000000010f8e1e2e +[NSBundle bundleWithURL:] + 45
5 XCTest 0x000000011d0a66e3 _XCTestMain + 278
6 CoreFoundation 0x0000000111fc808c __CFRUNLOOP_IS_CALLING_OUT_TO_A_BLOCK__ + 12
7 CoreFoundation 0x0000000111fbdd15 __CFRunLoopDoBlocks + 341
8 CoreFoundation 0x0000000111fbd472 __CFRunLoopRun + 850
9 CoreFoundation 0x0000000111fbce98 CFRunLoopRunSpecific + 488
10 GraphicsServices 0x0000000113ba8ad2 GSEventRunModal + 161
11 UIKit 0x000000010fcc8676 UIApplicationMain + 171
12 AppName 0x000000010ec854bf main + 111
13 libdyld.dylib 0x000000011414592d start + 1
14 ??? 0x0000000000000001 0x0 + 1
)
libc++abi.dylib: terminating with uncaught exception of type NSException
Running tests on my own embedded frameworks works fine unless I left "Host Application" blank - just the ones that use the main app as host application fail.
Enviromnemt:
- Mac OS X 10.11 GM
- Xcode 7 GM
- AppCode 3.3 EAP
Any ideas how to fix that or might that be a bug in AppCode?
请先登录再写评论。
Hi Florian.
Is the issue still actual on AppCode EAP build 142.4859.15?
If yes, could you please report it in tracker, so that we continue discussion there.
Hi Tatiana,
Yes, the issue still exists. I've created a bug report: AppCode 3.3 EAP - No tests were found.