Skip to content

History / NativeAOT Deployment

Revisions

  • Say which Xcode versions work, not only which were tested Naming Xcode 26.3 and 27.2 on every page made it read as if other minor versions were unsupported. The real rule is that the .NET Apple workload must match the selected Xcode, so the pages now say that and show how to use another Xcode such as 26.5. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>

    @justinwojo justinwojo committed Nov 30, 2026
  • Record NativeAOT on .NET 10 with Xcode 27.2 as working The 10.0.404 workload publishes without the IL2037 regression of the 27.0/27.1 workloads, and the NativeAOT and Mono AOT device suites pass on that pairing, so the three NativeAOT TODOs are replaced with what was observed. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>

    @justinwojo justinwojo committed Nov 22, 2026
  • Document choosing a .NET and Xcode pairing for the .NET 11 release The next release supports .NET 10 with Xcode 26.3 or 27.2, and .NET 11 with Xcode 27.2. Many users will stay on .NET 10, so a new page explains how to hold a machine on a pairing, and the existing pages now cover the .NET 11 path and the upgrade from 0.20.x. This is a draft to publish after the release ships; owner TODOs mark facts still to confirm. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>

    @justinwojo justinwojo committed Nov 19, 2026
  • Bring the wiki in line with the 0.19.0 release The public pages were still a 0.18.0 surface: Upgrading stopped one release short of two source-breaking rename waves, Troubleshooting described SWIFTBIND052 as a warning and omitted 061/066 and SB0010, and several guides taught a pack path or type conversion that 0.19.0 does not do. Upgrading is rewritten as a how-to with 0.19.0 first and earlier releases newest-to-oldest; the other pages get the matching factual refresh so a reader landing today is not given last-release rules.

    @justinwojo justinwojo committed Aug 12, 2026
  • Update docs for the 0.18.0 SDK release Refresh version references and examples for 0.18.0, expand Troubleshooting, Upgrading, and Supported-Features for the resilience-wave behavior shipped in this release, document the [String: Any] limitation, and add the new Platform & Toolchain Compatibility page explaining how Xcode/.NET/SDK/min-OS versions propagate to binding authors and consumers. Co-Authored-By: Claude Fable 5 <noreply@anthropic.com>

    @justinwojo justinwojo committed Jul 30, 2026
  • Update docs for 0.16.0 SDK + Apple 26.2.8 release Bump the SDK and Apple supplement version stamps across the examples (0.16.0 / 26.2.8) and document the 0.15.0+0.16.0 additions: the App Store native-packaging fix (signed framework, no SwiftSupport folder), C#-implemented async protocol requirements, AsyncThrowingStream, richer error/identity semantics, retain-cycle tooling, OS-gated PlatformNotSupportedException, --strict-inputs, and the new build-hook diagnostics. Add a Version Coexistence page explaining the bounded Runtime range and the load-time supported-window check. Co-Authored-By: Claude Opus 4.8 <noreply@anthropic.com>

    @justinwojo justinwojo committed Jun 27, 2026
  • Update documentation for 0.12.0 SDK + Apple 26.2.4 release Apple framework support widens (MusicKit, CryptoKit HMAC on device, RealityKit class-bound existentials, WorkoutKit range alerts, Foundation KVO + AttributedString, FamilyActivityPicker). Real Intel-Mac / x64 RID support lands across osx-x64, maccatalyst-x64, iossimulator-x64, and tvossimulator-x64. AnyError is now a sealed reference type — see the Upgrading guide's source-breaking note for (any Error)? call-site changes. Co-Authored-By: Claude Opus 4.7 <noreply@anthropic.com>

    @justinwojo justinwojo committed Jun 1, 2026
  • Updating documentation for 0.9.0 release

    @justinwojo justinwojo committed May 3, 2026
  • Add Multi-Framework Libraries + Publishing pages and fix audit-flagged accuracy issues New pages: - Multi-Framework-Libraries: vendor SDK structuring, dependency mechanisms, two-pass build pattern - Publishing: package contents, pre-pack validation, local testing, NuGet release workflow Audit fixes (factual accuracy): - FAQ: GC finalization DOES run Swift deinit (only process-exit is skipped) - Known-Limitations: drop stale UnsafePointer<T> and String enum raw-value sections — pointers now map to IntPtr; frozen string raw-value enums emit C# enums with ToRawValue/FromRawValue extensions that preserve real values - How-Bindings-Map + Supported-Features: refresh enum projection examples - Getting-Started: show versioned SDK reference with {version} placeholder - Customization + Publishing: drop the "also add SwiftFrameworkDependency for siblings" advice — ProjectReference alone is sufficient (SDK auto-discovers) - Troubleshooting: rewrite SWIFTBIND035 description (NuGet pack TFM resolution, not version metadata); rename SWIFTBIND10x headings to colon form for stable anchors - SB1001 severity corrected to Info (not Warning) across FAQ, Known-Limitations, NativeAOT-Deployment, Troubleshooting - Customization: add missing --skip-thunk-compilation and --compile-bridge-only CLI options - FAQ: fix two broken anchor links (#swiftbind101-static-xcframework-detected, #binding-report) Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>

    @justinwojo justinwojo committed Apr 8, 2026
  • Update wiki docs for 0.5.0 release - Library counts: 46→51 libraries, 90→95 targets, 56→61 Swift - Runtime tests: ~1000/~60 skipped → 1285 passed/9 skipped on both runtimes - Supported-Features: add Set, Dictionary, Data, Decimal type conversions - FAQ: pre-built packages now available (no longer "coming soon") - Architecture: update project structure for build/ directory (Nuke migration) - Upgrading: version examples updated to 0.4.0→0.5.0 - Known-Limitations: remove "preview-quality" qualifier, update NativeAOT stats Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>

    @justinwojo justinwojo committed Apr 2, 2026
  • Document native ARM64 thunks, updated P/Invoke stats, and SwiftUI bridge build integration - Add native ARM64 thunk documentation across Architecture, Known-Limitations, and Troubleshooting - Rewrite calling convention sections to reflect three-mechanism priority: thunks → @_cdecl → CallConvSwift - Update P/Invoke distribution stats with per-library table (Nuke, Lottie, BlinkID, Stripe) and 46-library aggregate - Add SwiftUI bridge build integration section and SWIFTBIND052 error code - Update test counts (694→1000+, 647→966 passing), closure support (String/class args via Cdecl) - Fix terminology: DllImport→LibraryImport, TestFramework→BindingTests - Add well-known generic constraint resolution for SwiftUI views (Hashable→String, Numeric→Int, etc.) - Update VWT Destroy docs with CallConvCdecl trampoline for finalizer-safe disposal Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>

    @justinwojo justinwojo committed Mar 26, 2026
  • Error code audit: align wiki with session 1 code changes - Add SWIFTBIND011 (platform version mismatch, split from SWIFTBIND010) - Add SWIFTBIND101-103 codes to generator errors with summary table - Update SWIFTBIND071 to info-level (no longer an error) - Update SWIFTBIND090-094 to consumer-facing messages - Fix SB0003: remove jargon (witness table, existential → protocol-typed values) - Fix SWIFTBIND002 fix text (separate projects, not explicit items) - Fix SWIFTBIND031 fix text (verify source xcframework, not rebuild wrapper) - Reframe Mono JIT section (not a Mono defect, generator handles automatically) - Update SB0001 description for consistency Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>

    @justinwojo justinwojo committed Mar 22, 2026
  • Update wiki: accurate calling convention architecture, real library stats, path forward - Reframe calling convention docs around the root cause: .NET's CallConvSwift only supports blittable types, driving ~67% of P/Invokes through @_cdecl wrappers (averaged across 51 third-party library bindings) - Three-tier breakdown: non-blittable types (~50%), inexpressible ABI patterns (~15%), runtime bugs (~5%) - Document path forward: non-blittable CallConvSwift support would drop wrapper rate from ~67% to ~20% - Add NativeAOT float struct HFA bug (JIT register allocation, not lowering) - Update VWT Destroy architecture (per-type @_cdecl wrappers eliminated) - Update SafeHandle async as Mono-only - Update runtime test count (694 total, 647 passing) - Remove redundant Non-Blittable and Swift Wrapper Escape Hatch sections - Add FAQ.md, update all pages for consistency Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>

    @justinwojo justinwojo committed Mar 19, 2026
  • Fix wiki internal links: remove .md extension GitHub wiki links must omit the .md extension, otherwise they resolve to raw file URLs instead of rendered wiki pages. Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>

    @justinwojo justinwojo committed Mar 12, 2026
  • Add full documentation to wiki Migrated all user-facing docs from the main repo's docs/ directory: Getting Started, Supported Features, How Bindings Map, SwiftUI Interop, Customization, Troubleshooting, Known Limitations, NativeAOT Deployment, Ownership, Architecture, and sidebar navigation. Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>

    @justinwojo justinwojo committed Mar 12, 2026