Xcodes supports downloading the Apple runtimes via the app. Simply click on the Platform, and Xcodes will install automatically for you. Note: iOS 18+, tvOS 18 ...
Something that causes a security risk at a BIOS level should never be allowed ...