Skip to content

Commit b56af82

Browse files
committed
feature: Install fbsimctl when setting up for Detox tests
1 parent b083a1a commit b56af82

File tree

1 file changed

+14
-0
lines changed

1 file changed

+14
-0
lines changed

src/commands/setup_macos_executor.yml

Lines changed: 14 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -28,6 +28,20 @@ steps:
2828
touch .watchmanconfig
2929
node -v
3030
31+
# Ideally we would do this using Homebrew above, but we need a specific revision due to this issue:
32+
# https://github.com/facebook/FBSimulatorControl/pull/508
33+
- run:
34+
name: Install FBSimulatorControl
35+
command: |
36+
cd /tmp
37+
git clone https://github.com/facebook/FBSimulatorControl.git FBSimulatorControl
38+
cd FBSimulatorControl
39+
git checkout 778f9825cb82aabac82f1ed474f1dba1e0276211
40+
./build.sh fbsimctl build >/dev/null
41+
cp -r build/Build/Products/Debug/* /usr/local/bin
42+
which fbsimctl
43+
fbsimctl
44+
3145
- save_cache:
3246
paths:
3347
- /usr/local/Homebrew

0 commit comments

Comments
 (0)