SE-419 introduced the 'Runtime' module, which has some nice-looking utilities for reading the loaded image info for a process. i tried to use it recently and couldn't quite figure out when & where it is/is not available. i found this in the changelog:
* [SE-0419][]:
Introduced the new `Runtime` module, which contains a public API that can
generate backtraces, presently supported on macOS and Linux. Capturing a
backtrace is as simple as
```swift
import Runtime
func foo() {
// Without symbols
let backtrace = try! Backtrace.capture()
print(backtrace)
// With symbol lookup
let symbolicated = backtrace.symbolicated()!
print(symbolicated)
}
as advertised, it does seem to work on macOS (26) and Linux. i tried to use some of these API on iOS but the module appeared to be unavailable even in the latest iOS SDK. is that expected? if so, is it anticipated that this could/will be available on iOS at some point?