[Apple] Fix job re-runs by emitting stripped assemblies to separate directory

Open
#118,631 4 comments 1 reaction 1 assignee View on GitHub

@kotlarmilos is already working on this.

Since Jul 10, 2026.

Assessment

This issue has not been assessed yet.

Description

area-Infrastructure os-ios Priority:1

Problem

On second and all subsequent attempts to run Apple mobile job on Helix, the trimmer or ilstrip output the assemblies to the same directory as the input. As a result, on the second and all subsequent runs, the input assemblies are already stripped, causing the Invalid IL code in SimpleTestRunner:Main (string[]): IL_0000: ret.

Output assemblies should be emitted to a different directory to ensure subsequent runs can execute without errors.

Dominant language
C#
Stars
18.3k
Forks
5.6k
PR merge metrics
PR metrics pending

Contributor guide

Open the contributing guide

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

More from dotnet/runtime

All issues in dotnet/runtime

Similar issues

More C# issues

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.