Skip to content

Apple cores again: iOS/macOS xcframework and a macOS dylib - #2

Merged
theZebco merged 1 commit into
mainfrom
apple-cores
Oct 23, 2026
Merged

theZebco merged 1 commit into
mainfrom
apple-cores

Conversation

@theZebco

Copy link
Copy Markdown
Collaborator

Brings the Apple cores back into the release, built from the current upstream build system. The app is unchanged (iOS/macOS development is paused); this only makes the cores available.

  • libxray-apple-cgo.zip: upstream's static LibXray.xcframework (iOS 15+, simulator, macOS 12+, tvOS 17+, module.modulemap for Swift). No fork code: the matrix entry only.
  • libxray-macos-dylib.zip: a universal (arm64 + x86_64) c-shared libXray.dylib for apps that load libXray over FFI, as with the Windows DLL and the Linux .so (build/app/macos.py, built like the Apple build's macOS slices: macOS 12, same SDK and flags, @rpath install name).

Both on the stable macos-26 image (where they built before the upstream sync). Each leg checks what it built:

  • dylib: per architecture, Go ≥ 1.27.3 and the v26.10.21 core (verify_core.py now thins a universal Mach-O); both architectures present; minos 12.0; CGoInvoke/CGoFree exported.
  • xcframework: the iOS, simulator and macOS slices exist and export CGoInvoke. Static libraries carry no build information for go version -m; their toolchain is go.mod's go 1.27.3, enforced by the go command.

Merge with a merge commit.

The release carries libxray-apple-cgo.zip again (upstream's static
LibXray.xcframework: iOS 15+, macOS 12+, tvOS 17+) and
libxray-macos-dylib.zip: a universal c-shared libXray.dylib for apps that
load libXray over FFI, as with the Windows DLL and the Linux .so, built
like the Apple build's macOS slices (macOS 12, same SDK and flags) and
with an @rpath install name.

Both run on the stable macos-26 image. Each checks what it built: the
dylib per architecture (Go 1.27.3, the v26.10.21 core), both
architectures present, minos 12.0, CGoInvoke/CGoFree exported; the
xcframework's iOS, simulator and macOS slices exist and export
CGoInvoke.
@theZebco theZebco closed this Oct 23, 2026
@theZebco theZebco reopened this Oct 23, 2026
@theZebco
theZebco merged commit b70f179 into main Oct 23, 2026
8 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant