Open hf-yevhen opened 3 years ago
Same problem here.
Logs freezing on:
2021-10-25 00:02:13.894 I DetoxRecorderCLI[37423:40b99] [DetoxRecorder:CLI] Launching /usr/bin/xcrun with arguments: ["simctl", "launch", "CFBCE1C6-D83E-4E8E-9B48-731A1C125D8F", "com.example.app", "-DTXRecStartRecording", "1", "-DTXRecTestName", "My Recorded Test", "-DTXServiceName", "72FAAEB1-F7CA-445A-822E-0903FBA4A495"] environment: ["SIMCTL_CHILD_DYLD_INSERT_LIBRARIES": "/Users/vagnerlandio/Example/node_modules/detox-recorder/DetoxRecorder.framework/DetoxRecorder"]
2021-10-25 00:02:14.741 I Example[37452:40c41] [DetoxRecorder:DetoxRecorderApplicationAccessibility] Enabling accessibility for automation on Simulator.
+1
Also suffering from this issue.
I have a similar problem.
Recorder seems to throw an exception
terminating with uncaught exception of type NSException
*** Terminating app due to uncaught exception 'NSInvalidArgumentException', reason: '+[UIWindowScene _keyWindowScene]: unrecognized selector sent to class 0x128db85f8'
dyld4 config: DYLD_ROOT_PATH=/Applications/Xcode.app/Contents/Developer/Platforms/iPhoneOS.platform/Library/Developer/CoreSimulator/Profiles/Runtimes/iOS.simruntime/Contents/Resources/RuntimeRoot
Same problem. I am using Hermes, not sure if everyone else is as well
Same here, did anyone find any workaround?
I have same problem, I ran recorder, app launches & crashes. But I get no error, and recorder says "Recording… (CTRL+C to stop)"
Latest detox breaks recorder?
same issue :(
Same issue. Any updates?
@MuckT , hmm @asafkorem could you write back here?
Would love to see how the recorder works, I had high hopes for this project :) Happy to provide any crash logs.
Sorry guys, we are not maintaining this project at the moment.. We may revisit this decision soon, but for now our focus is on other Detox improvements.
Interesting @asafkorem , considering the main project boasts about the recorder as a major feature and links to it from the documentation.
Maybe the issue is, that on MacOs 12.1 the AccessibilityUtilities.framework are not located, where the script assumes it should? https://github.com/wix/DetoxRecorder/blob/99820782a02fb771a7c1da4b2d9834abafc89172/DetoxRecorder/Utils/UIApplication%2BEnableAccessibility.m#L27
Or at least, is not present on my machine - Anybody who knows the new location og those utilities? I am no swift expert at all, I could just assume, that if that path does not exist, the process could fail?
Still not useable with latest Detox
Hey everyone, I am sincerely sorry, we're not focusing on this project right now as I mentioned earlier, but it's not yet abandoned either. For the meanwhile, until we'll have the capacity and focus for this project we are open to contributions from iOS developers.
Please consider removing/altering the recommendation here to use detox recorder... https://wix.github.io/Detox/docs/introduction/writing-first-test#detox-recorder
This was an unfortunate setback in my first time using Detox.
Hopefully I'll enjoy the rest of the product 👍🏼
(PS – I tried the Edit this page link but got a 404)
@asafkorem Any plans to resurrect this project? In my most humble opinion, this tool would be almost as useful as the Detox framework itself!
Describe the Bug The app crashes on start recording
To Reproduce run command:
detox recorder --configuration iosDebug --simulatorId booted --outputTestFile "~/Desktop/RecordedTest.js" --testName "My Recorded Test" --record
.detoxrc.json config:
Expected Behavior Expect to launch and start recording
Actual Behavior The app crashes on boot
Screenshots If applicable, add screenshots to help explain your problem.
Environment
Logs Post here the output of
in addition to any other output you get from the command line.
Additional Context Crash log from Flipper: