Files
Vítor Vasconcellos 51acd0fd8e Make mobile tests more resilient (#2236)
* Attempt at making mobile tests more resilient

* Forgot shell property

* Remove debug flag from run-maestro-tests.sh

* Fix kill command

* Improve device emulator launch code
 - Remove maestro version lock (expo is not using it anymore on their repo)
 - Use some of the same command expo uses to ensure device emulator launched

* ...

* ...

* Make grep timeout less strict

* Increase timeouts

* Downgrade macOS and Xcode

Following Expo changes:
cb7c90dac4
2024-03-25 19:42:37 +00:00
..
2024-03-09 06:56:24 +00:00
2022-08-08 20:29:14 -07:00
2024-01-10 09:40:18 +00:00
2024-02-13 18:26:19 +00:00
2023-04-03 08:12:28 +00:00

  • Make sure to run pnpm i if you make any change to the package mobile uses like assets.
  • If iOS build fails with node not found error, run echo "export NODE_BINARY=$(command -v node)" >> .xcode.env.local on mobile/ios/ directory.
  • If XCode can't find node, run ln -s "$(which node)" /usr/local/bin/node
  • To view the logs from the Spacedrive Core API, run xcrun simctl launch --console booted com.spacedrive.app with the app built in debug mode.
  • If Rive Assets have been updated, run pnpm mobile prebuild to import the latest version of the .riv files into the project.