-
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
Detox and Apple M2 Pro chip compatibility #4187
Comments
Does it crash? Could you bring some logs from the device/app itself? |
@asafkorem are you with M* architecture, does Detox work ok on it? |
I have M2 Pro Mac, Xcode 14.3.1 and I'm able to build / run iOS tests locally in Debug and Release modes. @JohnRBacon Dumb question - could it be some caches from the Intel machine? If it was some kind of data migration of macOS, try cloning your repo to another path and reinstall packages / pods / rebuild the app for Detox etc. |
This is actually an interesting idea. I wonder if Detox calculates the framework cache based on architecture or not... if there was a Time Machine migration, maybe indeed there can be a "missing link". |
@noomorph No the app does not crash. The app will launch but will not execute the "device.launchApp()" function. This issue only occurs in iOS not Android. Device.log is attached |
Thank you @zubko for your comment. I'm requesting another team member to test out on their machine that is similar to mine. There shouldn't be any cache issue as I am using a new machine and have installed everything fresh. Also, I have run, |
@JohnRBacon are you able to build and run this app without Detox using the same xcodebuild command you're using on the same simulator Detox is trying to launch the app on? |
This issue has been automatically marked as stale because it has not had recent activity. It will be closed if no further activity occurs. Thank you for your contributions! For more information on bots in this repository, read this discussion. |
What happened?
Detox test cases are failing after upgrading from an Intel based Mac to a Mac with M2 Pro chip. The app will load on the simulator but will hang and not proceed. Then the test times out.
I've tried the following:
Changed the testTimeout with the following:
I have tried running the Detox tests using the following iOS OS versions and am having the same results: the tests hangs upon at the first screen.
16.4 - fail
16.0 - fail
15.0 - fail
I did try upgrading Detox to the latest but this isn't working either
"detox": "20.2.1", to "detox": "20.114"
Error message and console output:
All tests (iOS) are failing with the following error messages:
Device logs
No response
More data, please!
No response
The text was updated successfully, but these errors were encountered: