Skip to content

docs(ios): Document the stale AOT compiler path (backport #26121) - #26129

Merged
MartinZikmund merged 1 commit into
servicing/6.8from
mergify/bp/servicing/6.8/pr-26121
Nov 6, 2026
Merged

MartinZikmund merged 1 commit into
servicing/6.8from
mergify/bp/servicing/6.8/pr-26121

Conversation

@mergify

@mergify mergify Bot commented Nov 6, 2026

Copy link
Copy Markdown
Contributor

GitHub Issue: Related to private#1255

PR Type:

📚 Documentation content changes

What changed? 🚀

  • New section in the iOS common issues page for error MSB4018: The "AOTCompile" task failed unexpectedly, when the build tries to start a mono-aot-cross that no longer exists.
  • Cause: .NET for iOS caches the AOT compiler path in obj/.../aot-compiler-path-<SDK version>.txt. A workload update that keeps the same .NET SDK doesn't refresh it (macios#25481, closed upstream without a fix; the cache logic is unchanged in macios main).
  • Workaround documented: delete bin/obj (or just that one file), and don't install the old compiler to match the path, since the app then fails to link.
  • Why now: QA hit it while validating 6.7 SR3 on macOS. uno.check#600 moves the mono toolchain workload from 10.0.108 to 10.0.114, so uno-check --fix will trigger it on Macs that already built an iOS app.
  • Backports: release/stable/6.7 and servicing/6.8. The file is identical on all three branches.

PR Checklist ✅

  • 🧪 Added Runtime tests, UI tests, or a manual test sample (for bug fixes / features, if applicable): N/A, docs only
  • 📚 Docs have been added/updated following the documentation template (for bug fixes / features): markdownlint and cspell pass locally with build/.markdownlint.json and build/cSpell.json
  • 🖼️ Validated PR Screenshots Compare Test Run results.: N/A, docs only
  • ❗ Contains NO breaking changes
  • 👀 Reviewed 2 other open pull requests (optional but appreciated!)

🤖 Generated with Claude Code


This is an automatic backport of pull request #26121 done by [Mergify](https://mergify.com).

After a workload update, .NET for iOS can keep using a cached AOT
compiler path that no longer exists (dotnet/macios#25481). Explain the
MSB4018 error and the bin/obj cleanup workaround.

Co-Authored-By: Claude Opus 5.5 <[email protected]>
(cherry picked from commit 55eeaa6)
@unodevops

Copy link
Copy Markdown
Contributor

@mergify

mergify Bot commented Nov 6, 2026 •

Copy link
Copy Markdown
Contributor Author

This pull request does not currently match the merge queue conditions, so it cannot be queued from here. The box comes back if it matches again.

@unodevops

Copy link
Copy Markdown
Contributor

@MartinZikmund
MartinZikmund merged commit 5921c3d into servicing/6.8 Nov 6, 2026
15 checks passed
@MartinZikmund
MartinZikmund deleted the mergify/bp/servicing/6.8/pr-26121 branch November 6, 2026 09:49
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants