ReviewOS

also looking at this

craft-native/craft

fix(ios): fall back to the bundle only when the remote is out of reach, and come back

#253
Merged glennmichael123 wants to merge fix/ios-fallback-only-for-connectivity into main
4 files +206 -1
packages/ios/scripts/compile-templates.tsmodified+4-0
Changes to packages/ios/scripts/compile-templates.ts
@@ -3,6 +3,7 @@ import { tmpdir } from 'node:os'
33import { join } from 'node:path'
44import { Glob } from 'bun'
55import { bootSimulator, init, pickSimulator, type CraftConfig } from '../src/index'
6import { checkLoadFailureClassifier } from './load-failure'
67import { watchCompanionProblems } from './watch-bundle'
78
89interface CompileFixture {
@@ -177,7 +178,10 @@ function buildTarget(output: string, projectName: string, targetName: string, sd
177178 ], output, `Compiling ${targetName} against ${sdk}`)
178179}
179180
181
180182try {
183 checkLoadFailureClassifier(workspace, run)
184
181185 for (const fixture of fixtures) {
182186 const output = join(workspace, fixture.name)
183187 await init({