The platform switch only handled macOS, iOS, and macCatalyst,
producing empty targets for BridgeOS, tvOS, watchOS, visionOS,
DriverKit, and simulators. Replace hardcoded target lists with
tbdArch/tbdPlatform helpers that derive the target from the
actual CPU type and LC_BUILD_VERSION platform.
Also: check LC_VERSION_MIN_* when LC_BUILD_VERSION is absent,
return an error for unsupported platforms instead of silently
producing invalid TBDs, and drop pkg/errors dependency.
Closes#871
* add cmds
* chore(deps): update macho and fix cobra flag issue where it couldn't read kernel addresses as flag input
* chore: add 🆕 syscall source-of-truth JSON (for use later)
* feat: add ability to dump MachO header info as JSON in `ipsw macho info` w/ `--json` flag
* feat: add ability to dump MachO header as JSON to `ipsw dyld macho` as well with `--json` flag
* Update macho_patch.go
* Update macho_sign.go