Error using iOS 15.5
See original GitHub issueWhat happened?
I am able to build on iOS 15.5, but I get an error when running the tests. This works on iOS 15.4
What was the expected behaviour?
The tests should pass.
Was it tested on latest Detox?
- I have tested this issue on the latest Detox release and it still reproduces.
Did your test throw out a timeout?
- I have followed the instructions under Identifying which synchronization mechanism causes us to wait too much.
Help us reproduce this issue!
https://github.com/longility/DetoxExperimentApp
In what environment did this happen?
Detox version: 19.6.9 React Native version: 0.68.2 Node version: v14.17.5 Device model: iPhone 11 on iOS 15.5 macOS version: 12.3.1 Xcode version: 13.4 Test-runner (select one): jest-circus
Detox logs
too big
Device logs
Device logs
21:20:17.282 detox[12608] INFO: [test.js] [32mDETOX_CONFIGURATION="ios" DETOX_RECORD_LOGS="all" DETOX_REPORT_SPECS=true DETOX_START_TIMESTAMP=1652926817274 DETOX_USE_CUSTOM_LOGGER=true jest --config e2e/config.json --testNamePattern '^((?!:android:).)*$' e2e[39m
21:20:22.225 detox[12610] INFO: [32mExample is assigned to 1B7D77F0-D84D-4657-A31A-AFC40F5BF661 (iPhone 11)[39m
21:20:24.000 detox[12610] INFO: [AppleSimUtils.js] [32morg.reactjs.native.example.DetoxExperimentApp launched. To watch simulator logs, run:[39m
[32m /usr/bin/xcrun simctl spawn 1B7D77F0-D84D-4657-A31A-AFC40F5BF661 log stream --level debug --style compact --predicate 'process == "DetoxExperimentApp"'[39m
21:20:25.875 detox[12610] INFO: [32mExample: should have "Step One" section[39m
21:20:31.655 detox[12610] INFO: [32mExample: should have "Step One" section [FAIL][39m
FAIL e2e/firstTest.e2e.js (13.271 s)
Example
✕ should have "Step One" section (5718 ms)
● Example › should have "Step One" section
DetoxRuntimeError: The pending request #2 ("invoke") has been rejected due to the following error:
The app has crashed, see the details below:
Signal 6 was raised
(
0 Detox 0x000000010f02b915 +[NSThread(DetoxUtils) dtx_demangledCallStackSymbols] + 37
1 Detox 0x000000010f02e370 __DTXHandleCrash + 464
2 Detox 0x000000010f02eab1 __DTXHandleSignal + 59
3 libsystem_platform.dylib 0x00007fff701bddfd _sigtramp + 29
4 ??? 0x0000000000000000 0x0 + 0
5 libsystem_c.dylib 0x00007fff2010b6b7 abort + 130
6 Foundation 0x00007fff2087f78e +[_NSPredicateUtilities _predicateSecurityAction] + 42
7 Foundation 0x00007fff20775dba -[NSFunctionExpression expressionValueWithObject:context:] + 958
8 Foundation 0x00007fff2073116f -[NSComparisonPredicate evaluateWithObject:substitutionVariables:] + 326
9 Foundation 0x00007fff20734355 -[NSCompoundPredicateOperator evaluatePredicates:withObject:substitutionVariables:] + 496
10 Foundation 0x00007fff20733bb6 -[NSCompoundPredicate evaluateWithObject:substitutionVariables:] + 269
11 Detox 0x000000010f02fa46 __87+[UIView(DetoxMatchers) _dtx_appendViewsRecursivelyFromArray:passingPredicate:storage:]_block_invoke + 65
12 CoreFoundation 0x00007fff203754a0 __NSARRAY_IS_CALLING_OUT_TO_A_BLOCK__ + 7
13 CoreFoundation 0x00007fff202ff732 -[__NSArrayM enumerateObjectsWithOptions:usingBlock:] + 224
14 Detox 0x000000010f02f980 +[UIView(DetoxMatchers) _dtx_appendViewsRecursivelyFromArray:passingPredicate:storage:] + 185
15 Detox 0x000000010f02fb61 +[UIView(DetoxMatchers) dtx_findViewsInWindows:passingPredicate:] + 89
16 Detox 0x000000010f02fd6d +[UIView(DetoxMatchers) dtx_findViewsInKeySceneWindowsPassingPredicate:] + 144
17 Detox 0x000000010f04b3c6 Detox.Element.(views in _14E24C92C1353FEA1FC68E698CB917EF).getter : Swift.Array<__C.NSObject> + 214
18 Detox 0x000000010f04b6f2 Detox.Element.(view in _14E24C92C1353FEA1FC68E698CB917EF).getter : __C.NSObject + 50
19 Detox 0x000000010f04cf12 Detox.Element.isVisible(with: Swift.Optional<Swift.UInt>) throws -> Swift.Bool + 50
20 Detox 0x000000010f045f3e Detox.ToBeVisibleExpectation._evaluate() -> () + 110
21 Detox 0x000000010f045a17 closure #1 () -> () in Detox.Expectation.evaluate(completionHandler: (Swift.Optional<Swift.Error>) -> ()) -> () + 103
22 Detox 0x000000010f0410dc reabstraction thunk helper from @callee_guaranteed () -> () to @escaping @callee_guaranteed () -> () + 12
23 Detox 0x000000010f03edfe reabstraction thunk helper from @escaping @callee_guaranteed () -> () to @escaping @callee_unowned @convention(block) () -> () + 14
24 Detox 0x000000010f038140 +[DTXAssertionHandler try:error:] + 47
25 Detox 0x000000010f049a1f function signature specialization <Arg[1] = Dead, Arg[2] = Owned To Guaranteed, Arg[3] = Owned To Guaranteed> of function signature specialization <Arg[1] = [Closure Propagated : closure #1 (Swift.Optional<Swift.Dictionary<Swift.String, Any>>, Swift.Optional<Swift.Error>) -> () in closure #2 () -> () in Detox.DetoxManager.webSocket(_: Detox.WebSocket, didReceiveAction: Swift.String, params: Swift.Dictionary<Swift.String, Any>, messageId: __C.NSNumber) -> (), Argument Types : [Detox.DetoxManager__C.NSNumber]> of static Detox.InvocationManager.invoke(dictionaryRepresentation: Swift.Dictionary<Swift.String, Any>, completionHandler: (Swift.Optional<Swift.Dictionary<Swift.String, Any>>, Swift.Optional<Swift.Error>) -> ()) -> () + 1823
26 Detox 0x000000010f063621 partial apply forwarder for closure #2 () -> () in Detox.DetoxManager.webSocket(_: Detox.WebSocket, didReceiveAction: Swift.String, params: Swift.Dictionary<Swift.String, Any>, messageId: __C.NSNumber) -> () + 65
27 Detox 0x000000010f03edfe reabstraction thunk helper from @escaping @callee_guaranteed () -> () to @escaping @callee_unowned @convention(block) () -> () + 14
28 DetoxSync 0x000000010f3810c4 __36+[DTXSyncManager _tryIdleBlocksNow:]_block_invoke.128 + 184
29 libdispatch.dylib 0x00007fff201148e4 _dispatch_call_block_and_release + 12
30 libdispatch.dylib 0x00007fff20115b25 _dispatch_client_callout + 8
31 libdispatch.dylib 0x00007fff20123043 _dispatch_main_queue_drain + 1050
32 libdispatch.dylib 0x00007fff20122c1b _dispatch_main_queue_callback_4CF + 31
33 CoreFoundation 0x00007fff20371ed5 __CFRUNLOOP_IS_SERVICING_THE_MAIN_DISPATCH_QUEUE__ + 9
34 CoreFoundation 0x00007fff2036c6ca __CFRunLoopRun + 2761
35 CoreFoundation 0x00007fff2036b704 CFRunLoopRunSpecific + 562
36 GraphicsServices 0x00007fff2cba9c8e GSEventRunModal + 139
37 UIKitCore 0x00007fff2509e65a -[UIApplication _run] + 928
38 DetoxSync 0x000000010f37ca52 __detox_sync_UIApplication_run + 362
39 UIKitCore 0x00007fff250a32b5 UIApplicationMain + 101
40 DetoxExperimentApp 0x000000010c124e88 main + 104
41 dyld 0x000000010ec62f21 start_sim + 10
42 ??? 0x0000000118d0151e 0x0 + 4711257374
)
9 |
10 | it('should have "Step One" section', async () => {
> 11 | await expect(element(by.text('Step One'))).toBeVisible();
| ^
12 | });
13 | });
14 |
at Object.toBeVisible (firstTest.e2e.js:11:48)
21:20:32.698 detox[12610] WARN: [33mat node_modules/jest-cli/build/cli/index.js:252:15 [39m
[33m Jest did not exit one second after the test run has completed.[39m
[33mThis usually means that there are asynchronous operations that weren't stopped in your tests. Consider running Jest with `--detectOpenHandles` to troubleshoot this issue.[39m
21:20:32.895 detox[12608] ERROR: [cli.js] [31mCommand failed: jest --config e2e/config.json --testNamePattern '^((?!:android:).)*$' e2e[39m
More data, please!
No response
Issue Analytics
- State:
- Created a year ago
- Reactions:4
- Comments:11 (6 by maintainers)
Top Results From Across the Web
Error while installing ios 15.5 - Apple Community
Check iPhone type & iOS version -> Go to: Settings -> General -> About. If it is an iPhone 6 Plus -> iOS...
Read more >An Error Occurred Installing iOS 15.5! Fix it Now - Tenorshare
The very first yet simplest technique to quickly fix the "unable to install iOS 15.5" issue is by reinstalling the update. In order...
Read more >iOS 15 Problems: 5 Things You Need to Know - Gotta Be Mobile
The company now says the software patched up an issue that could have exposed a user's private Apple ID information and in-app search...
Read more >How to Fix Error Installing iOS 15? [Solved] - CellularNews
How to Solve Error Installing iOS 15? · 1. Check Your Device Storage · 2. Delete the Update Then Download It Again ·...
Read more >Unable to install iOS 16.2 Update on iPhone? 6 Tips to Fix it
This error message came on screen after the new iOS setup file is downloaded but was unable to start the installation. That means...
Read more >
Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free
Top Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
@asafkorem you’re amazing dude 🙏🏻
@longility, @hutchgrant, @calebmackdavenport, @Semkoo, @chrismcleod, Please update Detox to the latest version (v19.7.0), we have fixed this issue in that version.