mirror of
https://github.com/blacktop/ipsw.git
synced 2026-05-08 12:22:26 +00:00
61965b5db1
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