If the App Store method fails, you can manually install an IPA file using sideloading tools.
If you truly need an old YouTube version, Android allows side-loading old APKs with fewer restrictions and more safety tools (like Google Play Protect). This is not possible on iOS without jailbreaking. youtube ipa download old version