Skip to content

Commit 2c22627

Browse files
gusgardclaude
andauthored
Fix Detox framework cache error by rebuilding cache before build (#210)
Add a "Detox Build Framework Cache" step to the Bitrise CI workflow that runs `detox clean-framework-cache && detox build-framework-cache` before the app build. This ensures the Detox.framework binary is compiled for the current Xcode version on the CI machine, fixing the DetoxRuntimeError about a missing framework. https://claude.ai/code/session_01F9dn58NdcHexYJmnc66hMM Co-authored-by: Claude <noreply@anthropic.com>
1 parent 8cbf8e9 commit 2c22627

1 file changed

Lines changed: 10 additions & 0 deletions

File tree

bitrise.yml

Lines changed: 10 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -46,6 +46,16 @@ workflows:
4646
log\nset -x\n \n# applesimutils is a collection of utils for Apple simulators\nbrew
4747
tap wix/brew\nbrew install applesimutils"
4848
title: Detox Install
49+
- script@1:
50+
title: Detox Build Framework Cache
51+
inputs:
52+
- working_dir: example
53+
- content: |-
54+
#!/usr/bin/env bash
55+
set -e
56+
set -x
57+
detox clean-framework-cache
58+
detox build-framework-cache
4959
- script@1:
5060
inputs:
5161
- working_dir: example

0 commit comments

Comments
 (0)