-
Couldn't load subscription status.
- Fork 5.2k
Open
Description
Description
Integrate Mach-O objects produced by Crossgen2 into the Apple app build. Ensure the .o files are linked into a dylib, correctly referenced by the app, signed, packaged into the .app bundle, and accompanied by debug symbols. Cache composite R2R outputs in Debug to speed up incremental builds.
Tasks:
- Add an MSBuild task/target that links Crossgen2
.ointo a.dylib- Accept multiple
.oinputs and emit a single composite R2R.dylib
- Accept multiple
- Link the app with:
libcoreclr.dylibvia@rpath- The composite R2R
.dylibproduced above - Ensure
@rpathentries include@executable_path/Frameworks
- Place the composite R2R
.dylibin the bundle - Generate debug symbols (
.dSYM) for both the app and the composite R2R.dylib - Sign the app and all embedded dylibs
- Implement Debug build caching for R2R artifacts
- Persist composite R2R inputs/outputs under an incremental cache key
- Reuse cached
.oand.dylibwhen inputs are unchanged
- Add CI validation step to verify dylib presence, code signature and rpath load commands
DoD: The Apple build produces a signed dylib inside the .app bundle.