@@ -262,6 +262,8 @@ def print_dry_run(repo: Path, build_dir: Path, staging: Path, platform: str,
262262 components = ["models_dev_registry" , "default_seed_bundle" ]
263263 if platform in ("windows" , "darwin" ):
264264 components .append ("computer_use_runtime" )
265+ if platform == "darwin" :
266+ components .append ("ios_simulator_runtime" )
265267 for component in components :
266268 print (" " + " " .join ([
267269 cmake_command , "--install" , str (build_dir ), "--config" , "MinSizeRel" ,
@@ -347,6 +349,8 @@ def stage(report: Report, repo: Path, build_dir: Path, staging: Path,
347349 components = ["models_dev_registry" , "default_seed_bundle" ]
348350 if platform in ("windows" , "darwin" ):
349351 components .append ("computer_use_runtime" )
352+ if platform == "darwin" :
353+ components .append ("ios_simulator_runtime" )
350354 for component in components :
351355 if not run_tool (report , f"cmake install { component } " ,
352356 [cmake , "--install" , str (build_dir ),
@@ -364,6 +368,12 @@ def structural_checks(report: Report, repo: Path, staging: Path,
364368 report .add ("computer use runtime adjacency" , "pass" )
365369 else :
366370 report .add ("computer use runtime adjacency" , "fail" , f"missing or empty { helper } " )
371+ if platform == "darwin" and "tui" in targets :
372+ simulator = staging / "acecode-ios-sim"
373+ if simulator .is_file () and simulator .stat ().st_size > 0 and os .access (simulator , os .X_OK ):
374+ report .add ("iOS Simulator runtime adjacency" , "pass" )
375+ else :
376+ report .add ("iOS Simulator runtime adjacency" , "fail" , f"missing or empty { simulator } " )
367377 if "tui" in targets or platform != "darwin" :
368378 check_models_dev (report , "models_dev registry (staged share/)" ,
369379 staging / "share" / "acecode" / "models_dev" ,
@@ -377,7 +387,8 @@ def structural_checks(report: Report, repo: Path, staging: Path,
377387 contents = bundle / "Contents"
378388 for required in (contents / "MacOS" / "ACECode" ,
379389 contents / "MacOS" / "acecode-daemon" ,
380- contents / "MacOS" / "acecode-computer-use" ):
390+ contents / "MacOS" / "acecode-computer-use" ,
391+ contents / "MacOS" / "acecode-ios-sim" ):
381392 if required .is_file () and required .stat ().st_size > 0 and os .access (required , os .X_OK ):
382393 report .add (f"app bundle { required .name } " , "pass" )
383394 else :
0 commit comments