-
Notifications
You must be signed in to change notification settings - Fork 1.9k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Xcode 9.4.1 timeout with demo-react-native-jest #1087
Comments
It's also similar to #615 in that
Except it goes two steps further than the
|
Just tried with |
With the In addition, when the Similarly, on a fresh clone of
Then:
It also works. So I imagine the problem lies either with the compilation of the framework during postinstall of the Creating a small |
I thought maybe the compiled version that's installed on the postinstall step wasn't correct, so I copied the result from So I believe this narrows it down to the way that the dynamically linked framework is injected when the app is launched, i.e.
Patching Show logdyld: loaded: /Users/me/Library/Developer/CoreSimulator/Devices/7E1CAE5D-DCAA-4AC0-920C-E8F9CD2BC60B/data/Containers/Bundle/Application/28F6C119-7F51-4532-B736-49D86886DAD6/DemoReactNativeJest.app/DemoReactNativeJest A |
Detox relies on a postinstall script to compile the framework. When running code from this git repo If you want to actually test it correctly, use |
Hi @rotemmiz Thanks for getting back to me.
Yes this completes without errors as far as I can tell and the
As mentioned here #1087 (comment) I can correctly launch the tests when adding the Framework manually. Can I check with you about a growing doubt: Is Detox supposed to work without manually dragging the This attempt to copy Detox.framework from probably an old location further increases my doubts... |
Detox is intended to be used without manually linking. That's exactly the point of Please make sure your command-line utility path is set correctly. Run |
This issue has been automatically marked as stale because it has not had recent activity. It will be closed if no further activity occurs. |
Hi @LeoNatan,
Thanks for clarifying. In that case there might be a bug, probably introduced by my environment. I can confirm that I only have a single install of Xcode and I'm still running on
You can see that I tried with a couple of simulator devices. I also tried
Do you have thoughts on a minimal setup (a minimal compiled |
Hi again @LeoNatan would you have any further troubleshooting steps I could try? Your help is much appreciated! |
I'm not sure what's going one. The framework is not being loaded. |
Damn... The issue was a corporate anti-virus... Your suggestion helped me track it down. Sorry for the wasted time (yours and mine) 😓 |
Great 👍 |
Description
Using a fresh clone of detox and the demo-react-native-jest project, the build runs but the test hang. When ran with
detox test --configuration ios.sim.debug -l trace
it hangs on:I've tried to run with
--debug-synchronization
see full log below. Related to:Steps to Reproduce
Detox, Node, Device, Xcode and macOS Versions
Device and verbose Detox logs
The text was updated successfully, but these errors were encountered: